Title: [183717] trunk/Source/WebCore
- Revision
- 183717
- Author
- [email protected]
- Date
- 2015-05-02 08:41:48 -0700 (Sat, 02 May 2015)
Log Message
Use Ref instead of PassRefPtr in WebCore/svg
https://bugs.webkit.org/show_bug.cgi?id=144479
Patch by Gyuyoung Kim <[email protected]> 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:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (183716 => 183717)
--- trunk/Source/WebCore/ChangeLog 2015-05-02 15:32:10 UTC (rev 183716)
+++ trunk/Source/WebCore/ChangeLog 2015-05-02 15:41:48 UTC (rev 183717)
@@ -1,3 +1,19 @@
+2015-05-02 Gyuyoung Kim <[email protected]>
+
+ Use Ref instead of PassRefPtr in WebCore/svg
+ https://bugs.webkit.org/show_bug.cgi?id=144479
+
+ 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:
+
2015-05-02 Simon Fraser <[email protected]>
Small cleanup in BitmapImage
Modified: trunk/Source/WebCore/svg/SVGFontFaceSrcElement.cpp (183716 => 183717)
--- trunk/Source/WebCore/svg/SVGFontFaceSrcElement.cpp 2015-05-02 15:32:10 UTC (rev 183716)
+++ trunk/Source/WebCore/svg/SVGFontFaceSrcElement.cpp 2015-05-02 15:41:48 UTC (rev 183717)
@@ -45,9 +45,9 @@
return adoptRef(*new SVGFontFaceSrcElement(tagName, document));
}
-PassRefPtr<CSSValueList> SVGFontFaceSrcElement::srcValue() const
+Ref<CSSValueList> SVGFontFaceSrcElement::srcValue() const
{
- RefPtr<CSSValueList> list = CSSValueList::createCommaSeparated();
+ Ref<CSSValueList> list = CSSValueList::createCommaSeparated();
for (auto& child : childrenOfType<SVGElement>(*this)) {
RefPtr<CSSFontFaceSrcValue> srcValue;
if (is<SVGFontFaceUriElement>(child))
Modified: trunk/Source/WebCore/svg/SVGFontFaceSrcElement.h (183716 => 183717)
--- trunk/Source/WebCore/svg/SVGFontFaceSrcElement.h 2015-05-02 15:32:10 UTC (rev 183716)
+++ trunk/Source/WebCore/svg/SVGFontFaceSrcElement.h 2015-05-02 15:41:48 UTC (rev 183717)
@@ -31,7 +31,7 @@
public:
static Ref<SVGFontFaceSrcElement> create(const QualifiedName&, Document&);
- PassRefPtr<CSSValueList> srcValue() const;
+ Ref<CSSValueList> srcValue() const;
private:
SVGFontFaceSrcElement(const QualifiedName&, Document&);
Modified: trunk/Source/WebCore/svg/properties/SVGPropertyInfo.h (183716 => 183717)
--- trunk/Source/WebCore/svg/properties/SVGPropertyInfo.h 2015-05-02 15:32:10 UTC (rev 183716)
+++ trunk/Source/WebCore/svg/properties/SVGPropertyInfo.h 2015-05-02 15:41:48 UTC (rev 183717)
@@ -21,7 +21,6 @@
#define SVGPropertyInfo_h
#include "QualifiedName.h"
-#include <wtf/PassRefPtr.h>
namespace WebCore {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes