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

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

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 2 months 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
Index: Source/core/svg/SVGGraphicsElement.cpp
diff --git a/Source/core/svg/SVGGraphicsElement.cpp b/Source/core/svg/SVGGraphicsElement.cpp
index 34711c5d6056af34e9f4b3db2871be334059e086..68fcec989beb8249edf2ae3df9a985d11e1144cc 100644
--- a/Source/core/svg/SVGGraphicsElement.cpp
+++ b/Source/core/svg/SVGGraphicsElement.cpp
@@ -44,7 +44,14 @@ SVGGraphicsElement::~SVGGraphicsElement()
{
}
-PassRefPtr<SVGMatrixTearOff> SVGGraphicsElement::getTransformToElement(SVGElement* target, ExceptionState& exceptionState)
+void SVGGraphicsElement::trace(Visitor* visitor)
+{
+ visitor->trace(m_transform);
+ SVGElement::trace(visitor);
+ SVGTests::trace(visitor);
+}
+
+PassRefPtrWillBeRawPtr<SVGMatrixTearOff> SVGGraphicsElement::getTransformToElement(SVGElement* target, ExceptionState& exceptionState)
{
AffineTransform ctm = getCTM(AllowStyleUpdate);
@@ -112,12 +119,12 @@ AffineTransform SVGGraphicsElement::getScreenCTM(StyleUpdateStrategy styleUpdate
return computeCTM(ScreenScope, styleUpdateStrategy);
}
-PassRefPtr<SVGMatrixTearOff> SVGGraphicsElement::getCTMFromJavascript()
+PassRefPtrWillBeRawPtr<SVGMatrixTearOff> SVGGraphicsElement::getCTMFromJavascript()
{
return SVGMatrixTearOff::create(getCTM());
}
-PassRefPtr<SVGMatrixTearOff> SVGGraphicsElement::getScreenCTMFromJavascript()
+PassRefPtrWillBeRawPtr<SVGMatrixTearOff> SVGGraphicsElement::getScreenCTMFromJavascript()
{
return SVGMatrixTearOff::create(getScreenCTM());
}
@@ -240,7 +247,7 @@ FloatRect SVGGraphicsElement::getBBox()
return renderer()->objectBoundingBox();
}
-PassRefPtr<SVGRectTearOff> SVGGraphicsElement::getBBoxFromJavascript()
+PassRefPtrWillBeRawPtr<SVGRectTearOff> SVGGraphicsElement::getBBoxFromJavascript()
{
return SVGRectTearOff::create(SVGRect::create(getBBox()), 0, PropertyIsNotAnimVal);
}

Powered by Google App Engine
This is Rietveld 408576698