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

Unified Diff: Source/core/animation/AnimatableSVGLength.cpp

Issue 112003003: [SVG] SVGLength{,List} migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: revert aggressive svgAttributeChanged, add NeedsRebaseline Created 6 years, 11 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
« no previous file with comments | « Source/core/animation/AnimatableSVGLength.h ('k') | Source/core/animation/AnimatableStrokeDasharrayList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimatableSVGLength.cpp
diff --git a/Source/core/animation/AnimatableSVGLength.cpp b/Source/core/animation/AnimatableSVGLength.cpp
index 97f4158d0b31cbfe140a301af37d8c440d0cfc37..e370a62d6a172c62f2c9ca8b7f862607f4bb633d 100644
--- a/Source/core/animation/AnimatableSVGLength.cpp
+++ b/Source/core/animation/AnimatableSVGLength.cpp
@@ -37,7 +37,7 @@ namespace WebCore {
PassRefPtr<AnimatableValue> AnimatableSVGLength::interpolateTo(const AnimatableValue* value, double fraction) const
{
- return create(toAnimatableSVGLength(value)->toSVGLength().blend(m_length, narrowPrecisionToFloat(fraction)));
+ return create(toAnimatableSVGLength(value)->toSVGLength()->blend(m_length.get(), narrowPrecisionToFloat(fraction)));
}
PassRefPtr<AnimatableValue> AnimatableSVGLength::addWith(const AnimatableValue* value) const
@@ -48,7 +48,7 @@ PassRefPtr<AnimatableValue> AnimatableSVGLength::addWith(const AnimatableValue*
bool AnimatableSVGLength::equalTo(const AnimatableValue* value) const
{
- return m_length == toAnimatableSVGLength(value)->m_length;
+ return *m_length == *toAnimatableSVGLength(value)->m_length;
}
} // namespace WebCore
« no previous file with comments | « Source/core/animation/AnimatableSVGLength.h ('k') | Source/core/animation/AnimatableStrokeDasharrayList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698