Ignore:
Timestamp:
Sep 13, 2013, 12:31:27 PM (12 years ago)
Author:
[email protected]
Message:

CTTE: RenderSVGResourcePattern always has an SVGPatternElement.
<https://webkit.org/b/121313>

Reviewed by Anders Carlsson.

This renderer is never anonymous. Tighten things up with a patternElement()
reference getter. Removed some unnecessary null checks and assertions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/svg/SVGPatternElement.cpp

    r155412 r155716  
    185185RenderObject* SVGPatternElement::createRenderer(RenderArena* arena, RenderStyle*)
    186186{
    187     return new (arena) RenderSVGResourcePattern(this);
     187    return new (arena) RenderSVGResourcePattern(*this);
    188188}
    189189
Note: See TracChangeset for help on using the changeset viewer.