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

Unified Diff: third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp

Issue 1743863002: Rename enums/functions that collide in chromium style in core/svg,xml (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: get-names-10: rebase Created 4 years, 10 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: third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp b/third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp
index 87d5fbe6a2cb412f2f0bf8db67d998e976de4225..95a190a795af45764981266765a51f3f2888f931 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp
@@ -208,7 +208,7 @@ bool SVGAnimateMotionElement::calculateFromAndToValues(const String& fromString,
bool SVGAnimateMotionElement::calculateFromAndByValues(const String& fromString, const String& byString)
{
m_hasToPointAtEndOfDuration = false;
- if (animationMode() == ByAnimation && !isAdditive())
+ if (getAnimationMode() == ByAnimation && !isAdditive())
return false;
parsePoint(fromString, m_fromPoint);
FloatPoint byPoint;
@@ -232,7 +232,7 @@ void SVGAnimateMotionElement::calculateAnimatedValue(float percentage, unsigned
if (!isAdditive())
transform->makeIdentity();
- if (animationMode() != PathAnimation) {
+ if (getAnimationMode() != PathAnimation) {
FloatPoint toPointAtEndOfDuration = m_toPoint;
if (isAccumulated() && repeatCount && m_hasToPointAtEndOfDuration)
toPointAtEndOfDuration = m_toPointAtEndOfDuration;

Powered by Google App Engine
This is Rietveld 408576698