Changeset 183536 in webkit


Ignore:
Timestamp:
Apr 29, 2015 1:17:08 AM (9 years ago)
Author:
Gyuyoung Kim
Message:

Purge PassRefPtr from createSVGPathSegFoo factory functions
https://bugs.webkit.org/show_bug.cgi?id=144374

Reviewed by Darin Adler.

Use Ref instead of PassRefPtr in createSVGPathSegFoo functions because
those factory functions can't return null. Additionally let's remove unnecessary
#include<PassRefPtr.h> there.

No new tests, no behavior changes.

  • svg/SVGColor.cpp:

(WebCore::SVGColor::cloneForCSSOM):

  • svg/SVGColor.h:
  • svg/SVGGlyphMap.h:

(WebCore::GlyphMapNode::create):

  • svg/SVGPaint.cpp:

(WebCore::SVGPaint::cloneForCSSOM):

  • svg/SVGPaint.h:
  • svg/SVGPathElement.cpp:

(WebCore::SVGPathElement::createSVGPathSegClosePath):
(WebCore::SVGPathElement::createSVGPathSegMovetoAbs):
(WebCore::SVGPathElement::createSVGPathSegMovetoRel):
(WebCore::SVGPathElement::createSVGPathSegLinetoAbs):
(WebCore::SVGPathElement::createSVGPathSegLinetoRel):
(WebCore::SVGPathElement::createSVGPathSegCurvetoCubicAbs):
(WebCore::SVGPathElement::createSVGPathSegCurvetoCubicRel):
(WebCore::SVGPathElement::createSVGPathSegCurvetoQuadraticAbs):
(WebCore::SVGPathElement::createSVGPathSegCurvetoQuadraticRel):
(WebCore::SVGPathElement::createSVGPathSegArcAbs):
(WebCore::SVGPathElement::createSVGPathSegArcRel):
(WebCore::SVGPathElement::createSVGPathSegLinetoHorizontalAbs):
(WebCore::SVGPathElement::createSVGPathSegLinetoHorizontalRel):
(WebCore::SVGPathElement::createSVGPathSegLinetoVerticalAbs):
(WebCore::SVGPathElement::createSVGPathSegLinetoVerticalRel):
(WebCore::SVGPathElement::createSVGPathSegCurvetoCubicSmoothAbs):
(WebCore::SVGPathElement::createSVGPathSegCurvetoCubicSmoothRel):
(WebCore::SVGPathElement::createSVGPathSegCurvetoQuadraticSmoothAbs):
(WebCore::SVGPathElement::createSVGPathSegCurvetoQuadraticSmoothRel):

  • svg/SVGPathElement.h:
  • svg/SVGPathSegArcAbs.h:

(WebCore::SVGPathSegArcAbs::create):

  • svg/SVGPathSegArcRel.h:

(WebCore::SVGPathSegArcRel::create):

  • svg/SVGPathSegClosePath.h:

(WebCore::SVGPathSegClosePath::create):

  • svg/SVGPathSegCurvetoCubicAbs.h:

(WebCore::SVGPathSegCurvetoCubicAbs::create):

  • svg/SVGPathSegCurvetoCubicRel.h:

(WebCore::SVGPathSegCurvetoCubicRel::create):

  • svg/SVGPathSegCurvetoCubicSmoothAbs.h:

(WebCore::SVGPathSegCurvetoCubicSmoothAbs::create):

  • svg/SVGPathSegCurvetoCubicSmoothRel.h:

(WebCore::SVGPathSegCurvetoCubicSmoothRel::create):

  • svg/SVGPathSegCurvetoQuadraticAbs.h:

(WebCore::SVGPathSegCurvetoQuadraticAbs::create):

  • svg/SVGPathSegCurvetoQuadraticRel.h:

(WebCore::SVGPathSegCurvetoQuadraticRel::create):

  • svg/SVGPathSegCurvetoQuadraticSmoothAbs.h:

(WebCore::SVGPathSegCurvetoQuadraticSmoothAbs::create):

  • svg/SVGPathSegCurvetoQuadraticSmoothRel.h:

(WebCore::SVGPathSegCurvetoQuadraticSmoothRel::create):

  • svg/SVGPathSegLinetoAbs.h:

(WebCore::SVGPathSegLinetoAbs::create):

  • svg/SVGPathSegLinetoHorizontalAbs.h:

(WebCore::SVGPathSegLinetoHorizontalAbs::create):

  • svg/SVGPathSegLinetoHorizontalRel.h:

(WebCore::SVGPathSegLinetoHorizontalRel::create):

  • svg/SVGPathSegLinetoRel.h:

(WebCore::SVGPathSegLinetoRel::create):

  • svg/SVGPathSegLinetoVerticalAbs.h:

(WebCore::SVGPathSegLinetoVerticalAbs::create):

  • svg/SVGPathSegLinetoVerticalRel.h:

(WebCore::SVGPathSegLinetoVerticalRel::create):

  • svg/SVGPathSegMovetoAbs.h:

(WebCore::SVGPathSegMovetoAbs::create):

  • svg/SVGPathSegMovetoRel.h:

(WebCore::SVGPathSegMovetoRel::create):

  • svg/SVGViewSpec.h:

(WebCore::SVGViewSpec::create):

  • svg/animation/SMILTimeContainer.h:

(WebCore::SMILTimeContainer::create):

  • svg/animation/SVGSMILElement.cpp:

(WebCore::ConditionEventListener::create):

  • svg/graphics/SVGImage.h:
  • svg/graphics/SVGImageForContainer.h:
  • svg/graphics/filters/SVGFilter.cpp:

(WebCore::SVGFilter::create):

  • svg/graphics/filters/SVGFilter.h:
Location:
trunk/Source/WebCore
Files:
34 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r183530 r183536  
     12015-04-29  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
     2
     3        Purge PassRefPtr from createSVGPathSegFoo factory functions
     4        https://bugs.webkit.org/show_bug.cgi?id=144374
     5
     6        Reviewed by Darin Adler.
     7
     8        Use Ref instead of PassRefPtr in createSVGPathSegFoo functions because
     9        those factory functions can't return null. Additionally let's remove unnecessary
     10        #include<PassRefPtr.h> there.
     11
     12        No new tests, no behavior changes.
     13
     14        * svg/SVGColor.cpp:
     15        (WebCore::SVGColor::cloneForCSSOM):
     16        * svg/SVGColor.h:
     17        * svg/SVGGlyphMap.h:
     18        (WebCore::GlyphMapNode::create):
     19        * svg/SVGPaint.cpp:
     20        (WebCore::SVGPaint::cloneForCSSOM):
     21        * svg/SVGPaint.h:
     22        * svg/SVGPathElement.cpp:
     23        (WebCore::SVGPathElement::createSVGPathSegClosePath):
     24        (WebCore::SVGPathElement::createSVGPathSegMovetoAbs):
     25        (WebCore::SVGPathElement::createSVGPathSegMovetoRel):
     26        (WebCore::SVGPathElement::createSVGPathSegLinetoAbs):
     27        (WebCore::SVGPathElement::createSVGPathSegLinetoRel):
     28        (WebCore::SVGPathElement::createSVGPathSegCurvetoCubicAbs):
     29        (WebCore::SVGPathElement::createSVGPathSegCurvetoCubicRel):
     30        (WebCore::SVGPathElement::createSVGPathSegCurvetoQuadraticAbs):
     31        (WebCore::SVGPathElement::createSVGPathSegCurvetoQuadraticRel):
     32        (WebCore::SVGPathElement::createSVGPathSegArcAbs):
     33        (WebCore::SVGPathElement::createSVGPathSegArcRel):
     34        (WebCore::SVGPathElement::createSVGPathSegLinetoHorizontalAbs):
     35        (WebCore::SVGPathElement::createSVGPathSegLinetoHorizontalRel):
     36        (WebCore::SVGPathElement::createSVGPathSegLinetoVerticalAbs):
     37        (WebCore::SVGPathElement::createSVGPathSegLinetoVerticalRel):
     38        (WebCore::SVGPathElement::createSVGPathSegCurvetoCubicSmoothAbs):
     39        (WebCore::SVGPathElement::createSVGPathSegCurvetoCubicSmoothRel):
     40        (WebCore::SVGPathElement::createSVGPathSegCurvetoQuadraticSmoothAbs):
     41        (WebCore::SVGPathElement::createSVGPathSegCurvetoQuadraticSmoothRel):
     42        * svg/SVGPathElement.h:
     43        * svg/SVGPathSegArcAbs.h:
     44        (WebCore::SVGPathSegArcAbs::create):
     45        * svg/SVGPathSegArcRel.h:
     46        (WebCore::SVGPathSegArcRel::create):
     47        * svg/SVGPathSegClosePath.h:
     48        (WebCore::SVGPathSegClosePath::create):
     49        * svg/SVGPathSegCurvetoCubicAbs.h:
     50        (WebCore::SVGPathSegCurvetoCubicAbs::create):
     51        * svg/SVGPathSegCurvetoCubicRel.h:
     52        (WebCore::SVGPathSegCurvetoCubicRel::create):
     53        * svg/SVGPathSegCurvetoCubicSmoothAbs.h:
     54        (WebCore::SVGPathSegCurvetoCubicSmoothAbs::create):
     55        * svg/SVGPathSegCurvetoCubicSmoothRel.h:
     56        (WebCore::SVGPathSegCurvetoCubicSmoothRel::create):
     57        * svg/SVGPathSegCurvetoQuadraticAbs.h:
     58        (WebCore::SVGPathSegCurvetoQuadraticAbs::create):
     59        * svg/SVGPathSegCurvetoQuadraticRel.h:
     60        (WebCore::SVGPathSegCurvetoQuadraticRel::create):
     61        * svg/SVGPathSegCurvetoQuadraticSmoothAbs.h:
     62        (WebCore::SVGPathSegCurvetoQuadraticSmoothAbs::create):
     63        * svg/SVGPathSegCurvetoQuadraticSmoothRel.h:
     64        (WebCore::SVGPathSegCurvetoQuadraticSmoothRel::create):
     65        * svg/SVGPathSegLinetoAbs.h:
     66        (WebCore::SVGPathSegLinetoAbs::create):
     67        * svg/SVGPathSegLinetoHorizontalAbs.h:
     68        (WebCore::SVGPathSegLinetoHorizontalAbs::create):
     69        * svg/SVGPathSegLinetoHorizontalRel.h:
     70        (WebCore::SVGPathSegLinetoHorizontalRel::create):
     71        * svg/SVGPathSegLinetoRel.h:
     72        (WebCore::SVGPathSegLinetoRel::create):
     73        * svg/SVGPathSegLinetoVerticalAbs.h:
     74        (WebCore::SVGPathSegLinetoVerticalAbs::create):
     75        * svg/SVGPathSegLinetoVerticalRel.h:
     76        (WebCore::SVGPathSegLinetoVerticalRel::create):
     77        * svg/SVGPathSegMovetoAbs.h:
     78        (WebCore::SVGPathSegMovetoAbs::create):
     79        * svg/SVGPathSegMovetoRel.h:
     80        (WebCore::SVGPathSegMovetoRel::create):
     81        * svg/SVGViewSpec.h:
     82        (WebCore::SVGViewSpec::create):
     83        * svg/animation/SMILTimeContainer.h:
     84        (WebCore::SMILTimeContainer::create):
     85        * svg/animation/SVGSMILElement.cpp:
     86        (WebCore::ConditionEventListener::create):
     87        * svg/graphics/SVGImage.h:
     88        * svg/graphics/SVGImageForContainer.h:
     89        * svg/graphics/filters/SVGFilter.cpp:
     90        (WebCore::SVGFilter::create):
     91        * svg/graphics/filters/SVGFilter.h:
     92
    1932015-04-28  Simon Fraser  <simon.fraser@apple.com>
    294
  • trunk/Source/WebCore/svg/SVGColor.cpp

    r163440 r183536  
    9898}
    9999
    100 PassRefPtr<SVGColor> SVGColor::cloneForCSSOM() const
     100Ref<SVGColor> SVGColor::cloneForCSSOM() const
    101101{
    102     return adoptRef(new SVGColor(SVGColorClass, *this));
     102    return adoptRef(*new SVGColor(SVGColorClass, *this));
    103103}
    104104
  • trunk/Source/WebCore/svg/SVGColor.h

    r177259 r183536  
    2525#include "CSSValue.h"
    2626#include "Color.h"
    27 #include <wtf/PassRefPtr.h>
    2827
    2928namespace WebCore {
     
    7372    ~SVGColor() { }
    7473   
    75     PassRefPtr<SVGColor> cloneForCSSOM() const;
     74    Ref<SVGColor> cloneForCSSOM() const;
    7675
    7776    bool equals(const SVGColor&) const;
  • trunk/Source/WebCore/svg/SVGGlyphMap.h

    r165848 r183536  
    4040    GlyphMapNode() { }
    4141public:
    42     static PassRefPtr<GlyphMapNode> create() { return adoptRef(new GlyphMapNode); }
     42    static Ref<GlyphMapNode> create() { return adoptRef(*new GlyphMapNode); }
    4343
    4444    Vector<SVGGlyph> glyphs;
  • trunk/Source/WebCore/svg/SVGPaint.cpp

    r163440 r183536  
    105105}
    106106
    107 PassRefPtr<SVGPaint> SVGPaint::cloneForCSSOM() const
     107Ref<SVGPaint> SVGPaint::cloneForCSSOM() const
    108108{
    109     return adoptRef(new SVGPaint(*this));
     109    return adoptRef(*new SVGPaint(*this));
    110110}
    111111
  • trunk/Source/WebCore/svg/SVGPaint.h

    r177259 r183536  
    9191    String customCSSText() const;
    9292
    93     PassRefPtr<SVGPaint> cloneForCSSOM() const;
     93    Ref<SVGPaint> cloneForCSSOM() const;
    9494
    9595    bool equals(const SVGPaint&) const;
  • trunk/Source/WebCore/svg/SVGPathElement.cpp

    r183160 r183536  
    115115}
    116116
    117 RefPtr<SVGPathSegClosePath> SVGPathElement::createSVGPathSegClosePath(SVGPathSegRole role)
     117Ref<SVGPathSegClosePath> SVGPathElement::createSVGPathSegClosePath(SVGPathSegRole role)
    118118{
    119119    return SVGPathSegClosePath::create(this, role);
    120120}
    121121
    122 RefPtr<SVGPathSegMovetoAbs> SVGPathElement::createSVGPathSegMovetoAbs(float x, float y, SVGPathSegRole role)
     122Ref<SVGPathSegMovetoAbs> SVGPathElement::createSVGPathSegMovetoAbs(float x, float y, SVGPathSegRole role)
    123123{
    124124    return SVGPathSegMovetoAbs::create(this, role, x, y);
    125125}
    126126
    127 RefPtr<SVGPathSegMovetoRel> SVGPathElement::createSVGPathSegMovetoRel(float x, float y, SVGPathSegRole role)
     127Ref<SVGPathSegMovetoRel> SVGPathElement::createSVGPathSegMovetoRel(float x, float y, SVGPathSegRole role)
    128128{
    129129    return SVGPathSegMovetoRel::create(this, role, x, y);
    130130}
    131131
    132 RefPtr<SVGPathSegLinetoAbs> SVGPathElement::createSVGPathSegLinetoAbs(float x, float y, SVGPathSegRole role)
     132Ref<SVGPathSegLinetoAbs> SVGPathElement::createSVGPathSegLinetoAbs(float x, float y, SVGPathSegRole role)
    133133{
    134134    return SVGPathSegLinetoAbs::create(this, role, x, y);
    135135}
    136136
    137 RefPtr<SVGPathSegLinetoRel> SVGPathElement::createSVGPathSegLinetoRel(float x, float y, SVGPathSegRole role)
     137Ref<SVGPathSegLinetoRel> SVGPathElement::createSVGPathSegLinetoRel(float x, float y, SVGPathSegRole role)
    138138{
    139139    return SVGPathSegLinetoRel::create(this, role, x, y);
    140140}
    141141
    142 RefPtr<SVGPathSegCurvetoCubicAbs> SVGPathElement::createSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2, SVGPathSegRole role)
     142Ref<SVGPathSegCurvetoCubicAbs> SVGPathElement::createSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2, SVGPathSegRole role)
    143143{
    144144    return SVGPathSegCurvetoCubicAbs::create(this, role, x, y, x1, y1, x2, y2);
    145145}
    146146
    147 RefPtr<SVGPathSegCurvetoCubicRel> SVGPathElement::createSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2, SVGPathSegRole role)
     147Ref<SVGPathSegCurvetoCubicRel> SVGPathElement::createSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2, SVGPathSegRole role)
    148148{
    149149    return SVGPathSegCurvetoCubicRel::create(this, role, x, y, x1, y1, x2, y2);
    150150}
    151151
    152 RefPtr<SVGPathSegCurvetoQuadraticAbs> SVGPathElement::createSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1, SVGPathSegRole role)
     152Ref<SVGPathSegCurvetoQuadraticAbs> SVGPathElement::createSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1, SVGPathSegRole role)
    153153{
    154154    return SVGPathSegCurvetoQuadraticAbs::create(this, role, x, y, x1, y1);
    155155}
    156156
    157 RefPtr<SVGPathSegCurvetoQuadraticRel> SVGPathElement::createSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1, SVGPathSegRole role)
     157Ref<SVGPathSegCurvetoQuadraticRel> SVGPathElement::createSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1, SVGPathSegRole role)
    158158{
    159159    return SVGPathSegCurvetoQuadraticRel::create(this, role, x, y, x1, y1);
    160160}
    161161
    162 RefPtr<SVGPathSegArcAbs> SVGPathElement::createSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, SVGPathSegRole role)
     162Ref<SVGPathSegArcAbs> SVGPathElement::createSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, SVGPathSegRole role)
    163163{
    164164    return SVGPathSegArcAbs::create(this, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag);
    165165}
    166166
    167 RefPtr<SVGPathSegArcRel> SVGPathElement::createSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, SVGPathSegRole role)
     167Ref<SVGPathSegArcRel> SVGPathElement::createSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, SVGPathSegRole role)
    168168{
    169169    return SVGPathSegArcRel::create(this, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag);
    170170}
    171171
    172 RefPtr<SVGPathSegLinetoHorizontalAbs> SVGPathElement::createSVGPathSegLinetoHorizontalAbs(float x, SVGPathSegRole role)
     172Ref<SVGPathSegLinetoHorizontalAbs> SVGPathElement::createSVGPathSegLinetoHorizontalAbs(float x, SVGPathSegRole role)
    173173{
    174174    return SVGPathSegLinetoHorizontalAbs::create(this, role, x);
    175175}
    176176
    177 RefPtr<SVGPathSegLinetoHorizontalRel> SVGPathElement::createSVGPathSegLinetoHorizontalRel(float x, SVGPathSegRole role)
     177Ref<SVGPathSegLinetoHorizontalRel> SVGPathElement::createSVGPathSegLinetoHorizontalRel(float x, SVGPathSegRole role)
    178178{
    179179    return SVGPathSegLinetoHorizontalRel::create(this, role, x);
    180180}
    181181
    182 RefPtr<SVGPathSegLinetoVerticalAbs> SVGPathElement::createSVGPathSegLinetoVerticalAbs(float y, SVGPathSegRole role)
     182Ref<SVGPathSegLinetoVerticalAbs> SVGPathElement::createSVGPathSegLinetoVerticalAbs(float y, SVGPathSegRole role)
    183183{
    184184    return SVGPathSegLinetoVerticalAbs::create(this, role, y);
    185185}
    186186
    187 RefPtr<SVGPathSegLinetoVerticalRel> SVGPathElement::createSVGPathSegLinetoVerticalRel(float y, SVGPathSegRole role)
     187Ref<SVGPathSegLinetoVerticalRel> SVGPathElement::createSVGPathSegLinetoVerticalRel(float y, SVGPathSegRole role)
    188188{
    189189    return SVGPathSegLinetoVerticalRel::create(this, role, y);
    190190}
    191191
    192 RefPtr<SVGPathSegCurvetoCubicSmoothAbs> SVGPathElement::createSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2, SVGPathSegRole role)
     192Ref<SVGPathSegCurvetoCubicSmoothAbs> SVGPathElement::createSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2, SVGPathSegRole role)
    193193{
    194194    return SVGPathSegCurvetoCubicSmoothAbs::create(this, role, x, y, x2, y2);
    195195}
    196196
    197 RefPtr<SVGPathSegCurvetoCubicSmoothRel> SVGPathElement::createSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2, SVGPathSegRole role)
     197Ref<SVGPathSegCurvetoCubicSmoothRel> SVGPathElement::createSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2, SVGPathSegRole role)
    198198{
    199199    return SVGPathSegCurvetoCubicSmoothRel::create(this, role, x, y, x2, y2);
    200200}
    201201
    202 RefPtr<SVGPathSegCurvetoQuadraticSmoothAbs> SVGPathElement::createSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y, SVGPathSegRole role)
     202Ref<SVGPathSegCurvetoQuadraticSmoothAbs> SVGPathElement::createSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y, SVGPathSegRole role)
    203203{
    204204    return SVGPathSegCurvetoQuadraticSmoothAbs::create(this, role, x, y);
    205205}
    206206
    207 RefPtr<SVGPathSegCurvetoQuadraticSmoothRel> SVGPathElement::createSVGPathSegCurvetoQuadraticSmoothRel(float x, float y, SVGPathSegRole role)
     207Ref<SVGPathSegCurvetoQuadraticSmoothRel> SVGPathElement::createSVGPathSegCurvetoQuadraticSmoothRel(float x, float y, SVGPathSegRole role)
    208208{
    209209    return SVGPathSegCurvetoQuadraticSmoothRel::create(this, role, x, y);
  • trunk/Source/WebCore/svg/SVGPathElement.h

    r183160 r183536  
    6262    unsigned getPathSegAtLength(float distance);
    6363
    64     RefPtr<SVGPathSegClosePath> createSVGPathSegClosePath(SVGPathSegRole = PathSegUndefinedRole);
    65     RefPtr<SVGPathSegMovetoAbs> createSVGPathSegMovetoAbs(float x, float y, SVGPathSegRole = PathSegUndefinedRole);
    66     RefPtr<SVGPathSegMovetoRel> createSVGPathSegMovetoRel(float x, float y, SVGPathSegRole = PathSegUndefinedRole);
    67     RefPtr<SVGPathSegLinetoAbs> createSVGPathSegLinetoAbs(float x, float y, SVGPathSegRole = PathSegUndefinedRole);
    68     RefPtr<SVGPathSegLinetoRel> createSVGPathSegLinetoRel(float x, float y, SVGPathSegRole = PathSegUndefinedRole);
    69     RefPtr<SVGPathSegCurvetoCubicAbs> createSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2, SVGPathSegRole = PathSegUndefinedRole);
    70     RefPtr<SVGPathSegCurvetoCubicRel> createSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2, SVGPathSegRole = PathSegUndefinedRole);
    71     RefPtr<SVGPathSegCurvetoQuadraticAbs> createSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1, SVGPathSegRole = PathSegUndefinedRole);
    72     RefPtr<SVGPathSegCurvetoQuadraticRel> createSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1, SVGPathSegRole = PathSegUndefinedRole);
    73     RefPtr<SVGPathSegArcAbs> createSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, SVGPathSegRole = PathSegUndefinedRole);
    74     RefPtr<SVGPathSegArcRel> createSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, SVGPathSegRole = PathSegUndefinedRole);
    75     RefPtr<SVGPathSegLinetoHorizontalAbs> createSVGPathSegLinetoHorizontalAbs(float x, SVGPathSegRole = PathSegUndefinedRole);
    76     RefPtr<SVGPathSegLinetoHorizontalRel> createSVGPathSegLinetoHorizontalRel(float x, SVGPathSegRole = PathSegUndefinedRole);
    77     RefPtr<SVGPathSegLinetoVerticalAbs> createSVGPathSegLinetoVerticalAbs(float y, SVGPathSegRole = PathSegUndefinedRole);
    78     RefPtr<SVGPathSegLinetoVerticalRel> createSVGPathSegLinetoVerticalRel(float y, SVGPathSegRole = PathSegUndefinedRole);
    79     RefPtr<SVGPathSegCurvetoCubicSmoothAbs> createSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2, SVGPathSegRole = PathSegUndefinedRole);
    80     RefPtr<SVGPathSegCurvetoCubicSmoothRel> createSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2, SVGPathSegRole = PathSegUndefinedRole);
    81     RefPtr<SVGPathSegCurvetoQuadraticSmoothAbs> createSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y, SVGPathSegRole = PathSegUndefinedRole);
    82     RefPtr<SVGPathSegCurvetoQuadraticSmoothRel> createSVGPathSegCurvetoQuadraticSmoothRel(float x, float y, SVGPathSegRole = PathSegUndefinedRole);
     64    Ref<SVGPathSegClosePath> createSVGPathSegClosePath(SVGPathSegRole = PathSegUndefinedRole);
     65    Ref<SVGPathSegMovetoAbs> createSVGPathSegMovetoAbs(float x, float y, SVGPathSegRole = PathSegUndefinedRole);
     66    Ref<SVGPathSegMovetoRel> createSVGPathSegMovetoRel(float x, float y, SVGPathSegRole = PathSegUndefinedRole);
     67    Ref<SVGPathSegLinetoAbs> createSVGPathSegLinetoAbs(float x, float y, SVGPathSegRole = PathSegUndefinedRole);
     68    Ref<SVGPathSegLinetoRel> createSVGPathSegLinetoRel(float x, float y, SVGPathSegRole = PathSegUndefinedRole);
     69    Ref<SVGPathSegCurvetoCubicAbs> createSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2, SVGPathSegRole = PathSegUndefinedRole);
     70    Ref<SVGPathSegCurvetoCubicRel> createSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2, SVGPathSegRole = PathSegUndefinedRole);
     71    Ref<SVGPathSegCurvetoQuadraticAbs> createSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1, SVGPathSegRole = PathSegUndefinedRole);
     72    Ref<SVGPathSegCurvetoQuadraticRel> createSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1, SVGPathSegRole = PathSegUndefinedRole);
     73    Ref<SVGPathSegArcAbs> createSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, SVGPathSegRole = PathSegUndefinedRole);
     74    Ref<SVGPathSegArcRel> createSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, SVGPathSegRole = PathSegUndefinedRole);
     75    Ref<SVGPathSegLinetoHorizontalAbs> createSVGPathSegLinetoHorizontalAbs(float x, SVGPathSegRole = PathSegUndefinedRole);
     76    Ref<SVGPathSegLinetoHorizontalRel> createSVGPathSegLinetoHorizontalRel(float x, SVGPathSegRole = PathSegUndefinedRole);
     77    Ref<SVGPathSegLinetoVerticalAbs> createSVGPathSegLinetoVerticalAbs(float y, SVGPathSegRole = PathSegUndefinedRole);
     78    Ref<SVGPathSegLinetoVerticalRel> createSVGPathSegLinetoVerticalRel(float y, SVGPathSegRole = PathSegUndefinedRole);
     79    Ref<SVGPathSegCurvetoCubicSmoothAbs> createSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2, SVGPathSegRole = PathSegUndefinedRole);
     80    Ref<SVGPathSegCurvetoCubicSmoothRel> createSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2, SVGPathSegRole = PathSegUndefinedRole);
     81    Ref<SVGPathSegCurvetoQuadraticSmoothAbs> createSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y, SVGPathSegRole = PathSegUndefinedRole);
     82    Ref<SVGPathSegCurvetoQuadraticSmoothRel> createSVGPathSegCurvetoQuadraticSmoothRel(float x, float y, SVGPathSegRole = PathSegUndefinedRole);
    8383
    8484    // Used in the bindings only.
  • trunk/Source/WebCore/svg/SVGPathSegArcAbs.h

    r163440 r183536  
    2929class SVGPathSegArcAbs : public SVGPathSegArc {
    3030public:
    31     static PassRefPtr<SVGPathSegArcAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
     31    static Ref<SVGPathSegArcAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
    3232    {
    33         return adoptRef(new SVGPathSegArcAbs(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag));
     33        return adoptRef(*new SVGPathSegArcAbs(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag));
    3434    }
    3535
  • trunk/Source/WebCore/svg/SVGPathSegArcRel.h

    r163440 r183536  
    2929class SVGPathSegArcRel : public SVGPathSegArc {
    3030public:
    31     static PassRefPtr<SVGPathSegArcRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
     31    static Ref<SVGPathSegArcRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
    3232    {
    33         return adoptRef(new SVGPathSegArcRel(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag));
     33        return adoptRef(*new SVGPathSegArcRel(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag));
    3434    }
    3535
  • trunk/Source/WebCore/svg/SVGPathSegClosePath.h

    r163440 r183536  
    2828class SVGPathSegClosePath : public SVGPathSegWithContext {
    2929public:
    30     static PassRefPtr<SVGPathSegClosePath> create(SVGPathElement* element, SVGPathSegRole role)
     30    static Ref<SVGPathSegClosePath> create(SVGPathElement* element, SVGPathSegRole role)
    3131    {
    32         return adoptRef(new SVGPathSegClosePath(element, role));
     32        return adoptRef(*new SVGPathSegClosePath(element, role));
    3333    }
    3434
  • trunk/Source/WebCore/svg/SVGPathSegCurvetoCubicAbs.h

    r163440 r183536  
    2929class SVGPathSegCurvetoCubicAbs : public SVGPathSegCurvetoCubic {
    3030public:
    31     static PassRefPtr<SVGPathSegCurvetoCubicAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2)
     31    static Ref<SVGPathSegCurvetoCubicAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2)
    3232    {
    33         return adoptRef(new SVGPathSegCurvetoCubicAbs(element, role, x, y, x1, y1, x2, y2));
     33        return adoptRef(*new SVGPathSegCurvetoCubicAbs(element, role, x, y, x1, y1, x2, y2));
    3434    }
    3535
  • trunk/Source/WebCore/svg/SVGPathSegCurvetoCubicRel.h

    r163440 r183536  
    2929class SVGPathSegCurvetoCubicRel : public SVGPathSegCurvetoCubic {
    3030public:
    31     static PassRefPtr<SVGPathSegCurvetoCubicRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2)
     31    static Ref<SVGPathSegCurvetoCubicRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2)
    3232    {
    33         return adoptRef(new SVGPathSegCurvetoCubicRel(element, role, x, y, x1, y1, x2, y2));
     33        return adoptRef(*new SVGPathSegCurvetoCubicRel(element, role, x, y, x1, y1, x2, y2));
    3434    }
    3535
  • trunk/Source/WebCore/svg/SVGPathSegCurvetoCubicSmoothAbs.h

    r163440 r183536  
    2929class SVGPathSegCurvetoCubicSmoothAbs : public SVGPathSegCurvetoCubicSmooth {
    3030public:
    31     static PassRefPtr<SVGPathSegCurvetoCubicSmoothAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x2, float y2)
     31    static Ref<SVGPathSegCurvetoCubicSmoothAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x2, float y2)
    3232    {
    33         return adoptRef(new SVGPathSegCurvetoCubicSmoothAbs(element, role, x, y, x2, y2));
     33        return adoptRef(*new SVGPathSegCurvetoCubicSmoothAbs(element, role, x, y, x2, y2));
    3434    }
    3535
  • trunk/Source/WebCore/svg/SVGPathSegCurvetoCubicSmoothRel.h

    r163440 r183536  
    2929class SVGPathSegCurvetoCubicSmoothRel : public SVGPathSegCurvetoCubicSmooth {
    3030public:
    31     static PassRefPtr<SVGPathSegCurvetoCubicSmoothRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x2, float y2)
     31    static Ref<SVGPathSegCurvetoCubicSmoothRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x2, float y2)
    3232    {
    33         return adoptRef(new SVGPathSegCurvetoCubicSmoothRel(element, role, x, y, x2, y2));
     33        return adoptRef(*new SVGPathSegCurvetoCubicSmoothRel(element, role, x, y, x2, y2));
    3434    }
    3535
  • trunk/Source/WebCore/svg/SVGPathSegCurvetoQuadraticAbs.h

    r163440 r183536  
    2929class SVGPathSegCurvetoQuadraticAbs : public SVGPathSegCurvetoQuadratic {
    3030public:
    31     static PassRefPtr<SVGPathSegCurvetoQuadraticAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1)
     31    static Ref<SVGPathSegCurvetoQuadraticAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1)
    3232    {
    33         return adoptRef(new SVGPathSegCurvetoQuadraticAbs(element, role, x, y, x1, y1));
     33        return adoptRef(*new SVGPathSegCurvetoQuadraticAbs(element, role, x, y, x1, y1));
    3434    }
    3535
  • trunk/Source/WebCore/svg/SVGPathSegCurvetoQuadraticRel.h

    r163440 r183536  
    2929class SVGPathSegCurvetoQuadraticRel : public SVGPathSegCurvetoQuadratic {
    3030public:
    31     static PassRefPtr<SVGPathSegCurvetoQuadraticRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1)
     31    static Ref<SVGPathSegCurvetoQuadraticRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1)
    3232    {
    33         return adoptRef(new SVGPathSegCurvetoQuadraticRel(element, role, x, y, x1, y1));
     33        return adoptRef(*new SVGPathSegCurvetoQuadraticRel(element, role, x, y, x1, y1));
    3434    }
    3535
  • trunk/Source/WebCore/svg/SVGPathSegCurvetoQuadraticSmoothAbs.h

    r163440 r183536  
    2929class SVGPathSegCurvetoQuadraticSmoothAbs : public SVGPathSegSingleCoordinate {
    3030public:
    31     static PassRefPtr<SVGPathSegCurvetoQuadraticSmoothAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y)
     31    static Ref<SVGPathSegCurvetoQuadraticSmoothAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y)
    3232    {
    33         return adoptRef(new SVGPathSegCurvetoQuadraticSmoothAbs(element, role, x, y));
     33        return adoptRef(*new SVGPathSegCurvetoQuadraticSmoothAbs(element, role, x, y));
    3434    }
    3535
  • trunk/Source/WebCore/svg/SVGPathSegCurvetoQuadraticSmoothRel.h

    r163440 r183536  
    2929class SVGPathSegCurvetoQuadraticSmoothRel : public SVGPathSegSingleCoordinate {
    3030public:
    31     static PassRefPtr<SVGPathSegCurvetoQuadraticSmoothRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y)
     31    static Ref<SVGPathSegCurvetoQuadraticSmoothRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y)
    3232    {
    33         return adoptRef(new SVGPathSegCurvetoQuadraticSmoothRel(element, role, x, y));
     33        return adoptRef(*new SVGPathSegCurvetoQuadraticSmoothRel(element, role, x, y));
    3434    }
    3535
  • trunk/Source/WebCore/svg/SVGPathSegLinetoAbs.h

    r163440 r183536  
    2929class SVGPathSegLinetoAbs : public SVGPathSegSingleCoordinate {
    3030public:
    31     static PassRefPtr<SVGPathSegLinetoAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y)
     31    static Ref<SVGPathSegLinetoAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y)
    3232    {
    33         return adoptRef(new SVGPathSegLinetoAbs(element, role, x, y));
     33        return adoptRef(*new SVGPathSegLinetoAbs(element, role, x, y));
    3434    }
    3535
  • trunk/Source/WebCore/svg/SVGPathSegLinetoHorizontalAbs.h

    r163440 r183536  
    2929class SVGPathSegLinetoHorizontalAbs : public SVGPathSegLinetoHorizontal {
    3030public:
    31     static PassRefPtr<SVGPathSegLinetoHorizontalAbs> create(SVGPathElement* element, SVGPathSegRole role, float x)
     31    static Ref<SVGPathSegLinetoHorizontalAbs> create(SVGPathElement* element, SVGPathSegRole role, float x)
    3232    {
    33         return adoptRef(new SVGPathSegLinetoHorizontalAbs(element, role, x));
     33        return adoptRef(*new SVGPathSegLinetoHorizontalAbs(element, role, x));
    3434    }
    3535
  • trunk/Source/WebCore/svg/SVGPathSegLinetoHorizontalRel.h

    r163440 r183536  
    2929class SVGPathSegLinetoHorizontalRel : public SVGPathSegLinetoHorizontal {
    3030public:
    31     static PassRefPtr<SVGPathSegLinetoHorizontalRel> create(SVGPathElement* element, SVGPathSegRole role, float x)
     31    static Ref<SVGPathSegLinetoHorizontalRel> create(SVGPathElement* element, SVGPathSegRole role, float x)
    3232    {
    33         return adoptRef(new SVGPathSegLinetoHorizontalRel(element, role, x));
     33        return adoptRef(*new SVGPathSegLinetoHorizontalRel(element, role, x));
    3434    }
    3535
  • trunk/Source/WebCore/svg/SVGPathSegLinetoRel.h

    r163440 r183536  
    2929class SVGPathSegLinetoRel : public SVGPathSegSingleCoordinate {
    3030public:
    31     static PassRefPtr<SVGPathSegLinetoRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y)
     31    static Ref<SVGPathSegLinetoRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y)
    3232    {
    33         return adoptRef(new SVGPathSegLinetoRel(element, role, x, y));
     33        return adoptRef(*new SVGPathSegLinetoRel(element, role, x, y));
    3434    }
    3535
  • trunk/Source/WebCore/svg/SVGPathSegLinetoVerticalAbs.h

    r163440 r183536  
    2929class SVGPathSegLinetoVerticalAbs : public SVGPathSegLinetoVertical {
    3030public:
    31     static PassRefPtr<SVGPathSegLinetoVerticalAbs> create(SVGPathElement* element, SVGPathSegRole role, float y)
     31    static Ref<SVGPathSegLinetoVerticalAbs> create(SVGPathElement* element, SVGPathSegRole role, float y)
    3232    {
    33         return adoptRef(new SVGPathSegLinetoVerticalAbs(element, role, y));
     33        return adoptRef(*new SVGPathSegLinetoVerticalAbs(element, role, y));
    3434    }
    3535
  • trunk/Source/WebCore/svg/SVGPathSegLinetoVerticalRel.h

    r163440 r183536  
    2929class SVGPathSegLinetoVerticalRel : public SVGPathSegLinetoVertical {
    3030public:
    31     static PassRefPtr<SVGPathSegLinetoVerticalRel> create(SVGPathElement* element, SVGPathSegRole role, float y)
     31    static Ref<SVGPathSegLinetoVerticalRel> create(SVGPathElement* element, SVGPathSegRole role, float y)
    3232    {
    33         return adoptRef(new SVGPathSegLinetoVerticalRel(element, role, y));
     33        return adoptRef(*new SVGPathSegLinetoVerticalRel(element, role, y));
    3434    }
    3535
  • trunk/Source/WebCore/svg/SVGPathSegMovetoAbs.h

    r163440 r183536  
    2929class SVGPathSegMovetoAbs : public SVGPathSegSingleCoordinate {
    3030public:
    31     static PassRefPtr<SVGPathSegMovetoAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y)
     31    static Ref<SVGPathSegMovetoAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y)
    3232    {
    33         return adoptRef(new SVGPathSegMovetoAbs(element, role, x, y));
     33        return adoptRef(*new SVGPathSegMovetoAbs(element, role, x, y));
    3434    }
    3535
  • trunk/Source/WebCore/svg/SVGPathSegMovetoRel.h

    r163440 r183536  
    2929class SVGPathSegMovetoRel : public SVGPathSegSingleCoordinate {
    3030public:
    31     static PassRefPtr<SVGPathSegMovetoRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y)
     31    static Ref<SVGPathSegMovetoRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y)
    3232    {
    33         return adoptRef(new SVGPathSegMovetoRel(element, role, x, y));
     33        return adoptRef(*new SVGPathSegMovetoRel(element, role, x, y));
    3434    }
    3535
  • trunk/Source/WebCore/svg/SVGViewSpec.h

    r181345 r183536  
    4141    using RefCounted<SVGViewSpec>::deref;
    4242
    43     static PassRefPtr<SVGViewSpec> create(SVGElement* contextElement)
     43    static Ref<SVGViewSpec> create(SVGElement* contextElement)
    4444    {
    45         return adoptRef(new SVGViewSpec(contextElement));
     45        return adoptRef(*new SVGViewSpec(contextElement));
    4646    }
    4747
  • trunk/Source/WebCore/svg/animation/SMILTimeContainer.h

    r176459 r183536  
    3232#include <wtf/HashMap.h>
    3333#include <wtf/HashSet.h>
    34 #include <wtf/PassRefPtr.h>
    3534#include <wtf/RefCounted.h>
    3635#include <wtf/text/StringHash.h>
     
    4544class SMILTimeContainer : public RefCounted<SMILTimeContainer>  {
    4645public:
    47     static PassRefPtr<SMILTimeContainer> create(SVGSVGElement* owner) { return adoptRef(new SMILTimeContainer(owner)); }
     46    static Ref<SMILTimeContainer> create(SVGSVGElement* owner) { return adoptRef(*new SMILTimeContainer(owner)); }
    4847    ~SMILTimeContainer();
    4948
  • trunk/Source/WebCore/svg/animation/SVGSMILElement.cpp

    r182121 r183536  
    5252class ConditionEventListener : public EventListener {
    5353public:
    54     static PassRefPtr<ConditionEventListener> create(SVGSMILElement* animation, SVGSMILElement::Condition* condition)
     54    static Ref<ConditionEventListener> create(SVGSMILElement* animation, SVGSMILElement::Condition* condition)
    5555    {
    56         return adoptRef(new ConditionEventListener(animation, condition));
     56        return adoptRef(*new ConditionEventListener(animation, condition));
    5757    }
    5858
  • trunk/Source/WebCore/svg/graphics/SVGImage.h

    r179626 r183536  
    4646class SVGImage final : public Image {
    4747public:
    48     static PassRefPtr<SVGImage> create(ImageObserver* observer)
     48    static Ref<SVGImage> create(ImageObserver* observer)
    4949    {
    50         return adoptRef(new SVGImage(observer));
     50        return adoptRef(*new SVGImage(observer));
    5151    }
    5252
  • trunk/Source/WebCore/svg/graphics/SVGImageForContainer.h

    r166582 r183536  
    3838class SVGImageForContainer final : public Image {
    3939public:
    40     static PassRefPtr<SVGImageForContainer> create(SVGImage* image, const FloatSize& containerSize, float zoom)
     40    static Ref<SVGImageForContainer> create(SVGImage* image, const FloatSize& containerSize, float zoom)
    4141    {
    42         return adoptRef(new SVGImageForContainer(image, containerSize, zoom));
     42        return adoptRef(*new SVGImageForContainer(image, containerSize, zoom));
    4343    }
    4444
  • trunk/Source/WebCore/svg/graphics/filters/SVGFilter.cpp

    r173397 r183536  
    4949}
    5050
    51 PassRefPtr<SVGFilter> SVGFilter::create(const AffineTransform& absoluteTransform, const FloatRect& absoluteSourceDrawingRegion, const FloatRect& targetBoundingBox, const FloatRect& filterRegion, bool effectBBoxMode)
     51Ref<SVGFilter> SVGFilter::create(const AffineTransform& absoluteTransform, const FloatRect& absoluteSourceDrawingRegion, const FloatRect& targetBoundingBox, const FloatRect& filterRegion, bool effectBBoxMode)
    5252{
    53     return adoptRef(new SVGFilter(absoluteTransform, absoluteSourceDrawingRegion, targetBoundingBox, filterRegion, effectBBoxMode));
     53    return adoptRef(*new SVGFilter(absoluteTransform, absoluteSourceDrawingRegion, targetBoundingBox, filterRegion, effectBBoxMode));
    5454}
    5555
  • trunk/Source/WebCore/svg/graphics/filters/SVGFilter.h

    r174654 r183536  
    2828#include "FloatSize.h"
    2929
    30 #include <wtf/PassRefPtr.h>
    3130#include <wtf/RefCounted.h>
    3231#include <wtf/RefPtr.h>
     
    3736class SVGFilter : public Filter {
    3837public:
    39     static PassRefPtr<SVGFilter> create(const AffineTransform&, const FloatRect&, const FloatRect&, const FloatRect&, bool);
     38    static Ref<SVGFilter> create(const AffineTransform&, const FloatRect&, const FloatRect&, const FloatRect&, bool);
    4039
    4140    FloatRect filterRegionInUserSpace() const { return m_filterRegion; }
Note: See TracChangeset for help on using the changeset viewer.