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

Unified Diff: Source/core/svg/SVGLineElement.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/SVGLineElement.cpp
diff --git a/Source/core/svg/SVGLineElement.cpp b/Source/core/svg/SVGLineElement.cpp
index 202d8934f8efeac4cbf95147afacfb19f29f7c5c..152098725be3f3449b90f8bfce3673d3362e7fe6 100644
--- a/Source/core/svg/SVGLineElement.cpp
+++ b/Source/core/svg/SVGLineElement.cpp
@@ -21,7 +21,6 @@
#include "config.h"
#include "core/svg/SVGLineElement.h"
-#include "core/rendering/svg/RenderSVGResource.h"
#include "core/rendering/svg/RenderSVGShape.h"
#include "core/svg/SVGLength.h"
@@ -82,7 +81,7 @@ void SVGLineElement::svgAttributeChanged(const QualifiedName& attrName)
if (isLengthAttribute) {
renderer->setNeedsShapeUpdate();
- RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer);
+ boundsChanged(renderer);
return;
}

Powered by Google App Engine
This is Rietveld 408576698