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

Unified Diff: Source/core/svg/SVGAnimatedIntegerOptionalInteger.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/SVGAnimatedIntegerOptionalInteger.h ('k') | Source/core/svg/SVGAnimatedLength.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAnimatedIntegerOptionalInteger.cpp
diff --git a/Source/core/svg/SVGAnimatedIntegerOptionalInteger.cpp b/Source/core/svg/SVGAnimatedIntegerOptionalInteger.cpp
index b6e55060f3d248cd6c15fca83f9cd2e07cefb733..d7e7aa9b9dceadcc8121a07fe0f8cbd96f0999af 100644
--- a/Source/core/svg/SVGAnimatedIntegerOptionalInteger.cpp
+++ b/Source/core/svg/SVGAnimatedIntegerOptionalInteger.cpp
@@ -32,6 +32,8 @@
#include "core/svg/SVGAnimatedIntegerOptionalInteger.h"
+#include "core/svg/SVGElement.h"
+
namespace blink {
SVGAnimatedIntegerOptionalInteger::SVGAnimatedIntegerOptionalInteger(SVGElement* contextElement, const QualifiedName& attributeName, float initialFirstValue, float initialSecondValue)
@@ -44,7 +46,14 @@ SVGAnimatedIntegerOptionalInteger::SVGAnimatedIntegerOptionalInteger(SVGElement*
m_secondInteger->setParentOptionalInteger(this);
}
-void SVGAnimatedIntegerOptionalInteger::setAnimatedValue(PassRefPtr<SVGPropertyBase> value)
+void SVGAnimatedIntegerOptionalInteger::trace(Visitor* visitor)
+{
+ visitor->trace(m_firstInteger);
+ visitor->trace(m_secondInteger);
+ SVGAnimatedPropertyCommon<SVGIntegerOptionalInteger>::trace(visitor);
+}
+
+void SVGAnimatedIntegerOptionalInteger::setAnimatedValue(PassRefPtrWillBeRawPtr<SVGPropertyBase> value)
{
SVGAnimatedPropertyCommon<SVGIntegerOptionalInteger>::setAnimatedValue(value);
m_firstInteger->setAnimatedValue(currentValue()->firstInteger());
« no previous file with comments | « Source/core/svg/SVGAnimatedIntegerOptionalInteger.h ('k') | Source/core/svg/SVGAnimatedLength.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698