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

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

Issue 669153002: Relocate markForLayoutAndParentResourceInvalidation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Drop boundsChanged. Created 6 years, 2 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/rendering/svg/SVGResourcesCache.cpp ('k') | Source/core/svg/SVGCircleElement.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 f91e428678f3f7faff3ad459e93c9388a460b708..16481caca1d74be19acb087ba311da2e1ab3941d 100644
--- a/Source/core/svg/SVGAnimateMotionElement.cpp
+++ b/Source/core/svg/SVGAnimateMotionElement.cpp
@@ -20,13 +20,11 @@
*/
#include "config.h"
-
#include "core/svg/SVGAnimateMotionElement.h"
#include "core/SVGNames.h"
#include "core/dom/ElementTraversal.h"
#include "core/rendering/RenderObject.h"
-#include "core/rendering/svg/RenderSVGResource.h"
#include "core/rendering/svg/SVGPathData.h"
#include "core/svg/SVGMPathElement.h"
#include "core/svg/SVGParserUtilities.h"
@@ -189,7 +187,7 @@ void SVGAnimateMotionElement::clearAnimatedType(SVGElement* targetElement)
if (RenderObject* targetRenderer = targetElement->renderer()) {
targetRenderer->setNeedsTransformUpdate();
- RenderSVGResource::markForLayoutAndParentResourceInvalidation(targetRenderer);
+ markForLayoutAndParentResourceInvalidation(targetRenderer);
}
}
@@ -283,7 +281,7 @@ void SVGAnimateMotionElement::applyResultsToTarget()
return;
if (RenderObject* renderer = targetElement->renderer())
- RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer);
+ markForLayoutAndParentResourceInvalidation(renderer);
AffineTransform* t = targetElement->animateMotionTransform();
if (!t)
@@ -301,7 +299,7 @@ void SVGAnimateMotionElement::applyResultsToTarget()
transform->setMatrix(t->a(), t->b(), t->c(), t->d(), t->e(), t->f());
if (RenderObject* renderer = shadowTreeElement->renderer()) {
renderer->setNeedsTransformUpdate();
- RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer);
+ markForLayoutAndParentResourceInvalidation(renderer);
}
}
}
« no previous file with comments | « Source/core/rendering/svg/SVGResourcesCache.cpp ('k') | Source/core/svg/SVGCircleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698