Changeset 183717 in webkit


Ignore:
Timestamp:
May 2, 2015 8:41:48 AM (9 years ago)
Author:
commit-queue@webkit.org
Message:

Use Ref instead of PassRefPtr in WebCore/svg
https://bugs.webkit.org/show_bug.cgi?id=144479

Patch by Gyuyoung Kim <gyuyoung.kim@samsung.com> on 2015-05-02
Reviewed by Darin Adler.

Remove remained PassRefPtr in svg.

No new tests, no behavior changes.

  • svg/SVGFontFaceSrcElement.cpp:

(WebCore::SVGFontFaceSrcElement::srcValue):

  • svg/SVGFontFaceSrcElement.h:
  • svg/properties/SVGPropertyInfo.h:
Location:
trunk/Source/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r183716 r183717  
     12015-05-02  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
     2
     3        Use Ref instead of PassRefPtr in WebCore/svg
     4        https://bugs.webkit.org/show_bug.cgi?id=144479
     5
     6        Reviewed by Darin Adler.
     7
     8        Remove remained PassRefPtr in svg.
     9
     10        No new tests, no behavior changes.
     11
     12        * svg/SVGFontFaceSrcElement.cpp:
     13        (WebCore::SVGFontFaceSrcElement::srcValue):
     14        * svg/SVGFontFaceSrcElement.h:
     15        * svg/properties/SVGPropertyInfo.h:
     16
    1172015-05-02  Simon Fraser  <simon.fraser@apple.com>
    218
  • trunk/Source/WebCore/svg/SVGFontFaceSrcElement.cpp

    r178048 r183717  
    4646}
    4747
    48 PassRefPtr<CSSValueList> SVGFontFaceSrcElement::srcValue() const
     48Ref<CSSValueList> SVGFontFaceSrcElement::srcValue() const
    4949{
    50     RefPtr<CSSValueList> list = CSSValueList::createCommaSeparated();
     50    Ref<CSSValueList> list = CSSValueList::createCommaSeparated();
    5151    for (auto& child : childrenOfType<SVGElement>(*this)) {
    5252        RefPtr<CSSFontFaceSrcValue> srcValue;
  • trunk/Source/WebCore/svg/SVGFontFaceSrcElement.h

    r178048 r183717  
    3232    static Ref<SVGFontFaceSrcElement> create(const QualifiedName&, Document&);
    3333
    34     PassRefPtr<CSSValueList> srcValue() const;
     34    Ref<CSSValueList> srcValue() const;
    3535   
    3636private:
  • trunk/Source/WebCore/svg/properties/SVGPropertyInfo.h

    r181345 r183717  
    2222
    2323#include "QualifiedName.h"
    24 #include <wtf/PassRefPtr.h>
    2524
    2625namespace WebCore {
Note: See TracChangeset for help on using the changeset viewer.