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

Unified Diff: Source/core/svg/SVGBoolean.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/SVGBoolean.h ('k') | Source/core/svg/SVGCircleElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGBoolean.cpp
diff --git a/Source/core/svg/SVGBoolean.cpp b/Source/core/svg/SVGBoolean.cpp
index a5550a21aa0fa507859d396e12e1da45fdad8849..e3f300cb2fb902cb7eebd5131817ce4326c35351 100644
--- a/Source/core/svg/SVGBoolean.cpp
+++ b/Source/core/svg/SVGBoolean.cpp
@@ -60,7 +60,7 @@ void SVGBoolean::add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*)
ASSERT_NOT_REACHED();
}
-void SVGBoolean::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> from, PassRefPtr<SVGPropertyBase> to, PassRefPtr<SVGPropertyBase>, SVGElement*)
+void SVGBoolean::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> from, PassRefPtrWillBeRawPtr<SVGPropertyBase> to, PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*)
{
ASSERT(animationElement);
bool fromBoolean = animationElement->animationMode() == ToAnimation ? m_value : toSVGBoolean(from)->value();
@@ -69,7 +69,7 @@ void SVGBoolean::calculateAnimatedValue(SVGAnimationElement* animationElement, f
animationElement->animateDiscreteType<bool>(percentage, fromBoolean, toBoolean, m_value);
}
-float SVGBoolean::calculateDistance(PassRefPtr<SVGPropertyBase>, SVGElement*)
+float SVGBoolean::calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*)
{
// No paced animations for boolean.
return -1;
« no previous file with comments | « Source/core/svg/SVGBoolean.h ('k') | Source/core/svg/SVGCircleElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698