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

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

Issue 669153002: Relocate markForLayoutAndParentResourceInvalidation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Dependency reduction/possibly clearer API. 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
Index: Source/core/svg/SVGPolyElement.cpp
diff --git a/Source/core/svg/SVGPolyElement.cpp b/Source/core/svg/SVGPolyElement.cpp
index 52daa1577888201fbc8534b41eb8a7dfce1b713b..f54b9144abb99b6d4fd0486e0143237121998d2c 100644
--- a/Source/core/svg/SVGPolyElement.cpp
+++ b/Source/core/svg/SVGPolyElement.cpp
@@ -21,7 +21,6 @@
#include "config.h"
#include "core/svg/SVGPolyElement.h"
-#include "core/rendering/svg/RenderSVGResource.h"
#include "core/rendering/svg/RenderSVGShape.h"
#include "core/svg/SVGAnimatedPointList.h"
#include "core/svg/SVGParserUtilities.h"
@@ -54,7 +53,7 @@ void SVGPolyElement::svgAttributeChanged(const QualifiedName& attrName)
return;
renderer->setNeedsShapeUpdate();
- RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer);
+ boundsChanged(renderer);
}
}

Powered by Google App Engine
This is Rietveld 408576698