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

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

Issue 1118133003: Rename rendering in core/svg. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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 | « no previous file | Source/core/svg/SVGAnimatedColor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAnimateMotionElement.cpp
diff --git a/Source/core/svg/SVGAnimateMotionElement.cpp b/Source/core/svg/SVGAnimateMotionElement.cpp
index c456967f05bb8e87c0d67d9e87494ffdf329abde..f687fc400ea1859af3261ec3ad0e86f611b6c19b 100644
--- a/Source/core/svg/SVGAnimateMotionElement.cpp
+++ b/Source/core/svg/SVGAnimateMotionElement.cpp
@@ -186,9 +186,9 @@ void SVGAnimateMotionElement::clearAnimatedType()
transform->makeIdentity();
- if (LayoutObject* targetRenderer = targetElement->layoutObject()) {
- targetRenderer->setNeedsTransformUpdate();
- markForLayoutAndParentResourceInvalidation(targetRenderer);
+ if (LayoutObject* targetLayoutObject = targetElement->layoutObject()) {
+ targetLayoutObject->setNeedsTransformUpdate();
+ markForLayoutAndParentResourceInvalidation(targetLayoutObject);
}
}
@@ -228,8 +228,8 @@ void SVGAnimateMotionElement::calculateAnimatedValue(float percentage, unsigned
if (!transform)
return;
- if (LayoutObject* targetRenderer = targetElement->layoutObject())
- targetRenderer->setNeedsTransformUpdate();
+ if (LayoutObject* targetLayoutObject = targetElement->layoutObject())
+ targetLayoutObject->setNeedsTransformUpdate();
if (!isAdditive())
transform->makeIdentity();
@@ -281,8 +281,8 @@ void SVGAnimateMotionElement::applyResultsToTarget()
if (!targetElement)
return;
- if (LayoutObject* renderer = targetElement->layoutObject())
- markForLayoutAndParentResourceInvalidation(renderer);
+ if (LayoutObject* layoutObject = targetElement->layoutObject())
+ markForLayoutAndParentResourceInvalidation(layoutObject);
AffineTransform* t = targetElement->animateMotionTransform();
if (!t)
@@ -296,9 +296,9 @@ void SVGAnimateMotionElement::applyResultsToTarget()
if (!transform)
continue;
transform->setMatrix(t->a(), t->b(), t->c(), t->d(), t->e(), t->f());
- if (LayoutObject* renderer = shadowTreeElement->layoutObject()) {
- renderer->setNeedsTransformUpdate();
- markForLayoutAndParentResourceInvalidation(renderer);
+ if (LayoutObject* layoutObject = shadowTreeElement->layoutObject()) {
+ layoutObject->setNeedsTransformUpdate();
+ markForLayoutAndParentResourceInvalidation(layoutObject);
}
}
}
« no previous file with comments | « no previous file | Source/core/svg/SVGAnimatedColor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698