Ignore:
Timestamp:
Sep 15, 2013, 11:06:06 AM (12 years ago)
Author:
[email protected]
Message:

CTTE: Node subclasses should take a Document by reference in their constructor (Part 8)
https://bugs.webkit.org/show_bug.cgi?id=121393

Reviewed by Andreas Kling.

Converts the following to take a Document reference:

  • All of SVG
File:
1 edited

Legend:

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

    r155716 r155815  
    7474END_REGISTER_ANIMATED_PROPERTIES
    7575
    76 inline SVGPatternElement::SVGPatternElement(const QualifiedName& tagName, Document* document)
     76inline SVGPatternElement::SVGPatternElement(const QualifiedName& tagName, Document& document)
    7777    : SVGElement(tagName, document)
    7878    , m_x(LengthModeWidth)
     
    8787}
    8888
    89 PassRefPtr<SVGPatternElement> SVGPatternElement::create(const QualifiedName& tagName, Document* document)
     89PassRefPtr<SVGPatternElement> SVGPatternElement::create(const QualifiedName& tagName, Document& document)
    9090{
    9191    return adoptRef(new SVGPatternElement(tagName, document));
Note: See TracChangeset for help on using the changeset viewer.