Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1089)

Unified Diff: Source/core/svg/SVGPointTearOff.cpp

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased upto r185213 Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGPointTearOff.h ('k') | Source/core/svg/SVGPolyElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPointTearOff.cpp
diff --git a/Source/core/svg/SVGPointTearOff.cpp b/Source/core/svg/SVGPointTearOff.cpp
index 78faa4fe475bc333f095c7a3ea12a5a690619a3a..706d26dab6c52256d253def792931381f8ebb77b 100644
--- a/Source/core/svg/SVGPointTearOff.cpp
+++ b/Source/core/svg/SVGPointTearOff.cpp
@@ -34,11 +34,12 @@
#include "bindings/core/v8/ExceptionState.h"
#include "core/dom/ExceptionCode.h"
+#include "core/svg/SVGElement.h"
#include "core/svg/SVGMatrixTearOff.h"
namespace blink {
-SVGPointTearOff::SVGPointTearOff(PassRefPtr<SVGPoint> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName)
+SVGPointTearOff::SVGPointTearOff(PassRefPtrWillBeRawPtr<SVGPoint> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName)
: SVGPropertyTearOff<SVGPoint>(target, contextElement, propertyIsAnimVal, attributeName)
{
}
@@ -65,7 +66,7 @@ void SVGPointTearOff::setY(float f, ExceptionState& exceptionState)
commitChange();
}
-PassRefPtr<SVGPointTearOff> SVGPointTearOff::matrixTransform(PassRefPtr<SVGMatrixTearOff> matrix)
+PassRefPtrWillBeRawPtr<SVGPointTearOff> SVGPointTearOff::matrixTransform(PassRefPtrWillBeRawPtr<SVGMatrixTearOff> matrix)
{
FloatPoint point = target()->matrixTransform(matrix->value());
return SVGPointTearOff::create(SVGPoint::create(point), 0, PropertyIsNotAnimVal);
« no previous file with comments | « Source/core/svg/SVGPointTearOff.h ('k') | Source/core/svg/SVGPolyElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698