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

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

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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/plugins/PluginOcclusionSupport.cpp ('k') | 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 1f78498d405296641e0a3615df1b2f67d756b252..c456967f05bb8e87c0d67d9e87494ffdf329abde 100644
--- a/Source/core/svg/SVGAnimateMotionElement.cpp
+++ b/Source/core/svg/SVGAnimateMotionElement.cpp
@@ -186,7 +186,7 @@ void SVGAnimateMotionElement::clearAnimatedType()
transform->makeIdentity();
- if (LayoutObject* targetRenderer = targetElement->renderer()) {
+ if (LayoutObject* targetRenderer = targetElement->layoutObject()) {
targetRenderer->setNeedsTransformUpdate();
markForLayoutAndParentResourceInvalidation(targetRenderer);
}
@@ -228,7 +228,7 @@ void SVGAnimateMotionElement::calculateAnimatedValue(float percentage, unsigned
if (!transform)
return;
- if (LayoutObject* targetRenderer = targetElement->renderer())
+ if (LayoutObject* targetRenderer = targetElement->layoutObject())
targetRenderer->setNeedsTransformUpdate();
if (!isAdditive())
@@ -281,7 +281,7 @@ void SVGAnimateMotionElement::applyResultsToTarget()
if (!targetElement)
return;
- if (LayoutObject* renderer = targetElement->renderer())
+ if (LayoutObject* renderer = targetElement->layoutObject())
markForLayoutAndParentResourceInvalidation(renderer);
AffineTransform* t = targetElement->animateMotionTransform();
@@ -296,7 +296,7 @@ void SVGAnimateMotionElement::applyResultsToTarget()
if (!transform)
continue;
transform->setMatrix(t->a(), t->b(), t->c(), t->d(), t->e(), t->f());
- if (LayoutObject* renderer = shadowTreeElement->renderer()) {
+ if (LayoutObject* renderer = shadowTreeElement->layoutObject()) {
renderer->setNeedsTransformUpdate();
markForLayoutAndParentResourceInvalidation(renderer);
}
« no previous file with comments | « Source/core/plugins/PluginOcclusionSupport.cpp ('k') | Source/core/svg/SVGAnimatedColor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698