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

Unified Diff: Source/core/svg/SVGForeignObjectElement.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/svg/SVGFilterPrimitiveStandardAttributes.cpp ('k') | Source/core/svg/SVGGraphicsElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGForeignObjectElement.cpp
diff --git a/Source/core/svg/SVGForeignObjectElement.cpp b/Source/core/svg/SVGForeignObjectElement.cpp
index d4594e92fd61dabb73c7f0b98dbec0ee394a55b1..ef1cae155d910b642c792cdbd81dd4e6d0691e66 100644
--- a/Source/core/svg/SVGForeignObjectElement.cpp
+++ b/Source/core/svg/SVGForeignObjectElement.cpp
@@ -24,7 +24,6 @@
#include "core/XLinkNames.h"
#include "core/frame/UseCounter.h"
#include "core/rendering/svg/RenderSVGForeignObject.h"
-#include "core/rendering/svg/RenderSVGResource.h"
#include "core/svg/SVGLength.h"
#include "wtf/Assertions.h"
@@ -107,11 +106,11 @@ void SVGForeignObjectElement::svgAttributeChanged(const QualifiedName& attrName)
|| attrName == SVGNames::widthAttr
|| attrName == SVGNames::heightAttr;
- if (isLengthAttribute)
+ if (isLengthAttribute) {
updateRelativeLengthsInformation();
-
- if (RenderObject* renderer = this->renderer())
- RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer);
+ if (RenderObject* renderer = this->renderer())
+ markForLayoutAndParentResourceInvalidation(renderer);
+ }
}
RenderObject* SVGForeignObjectElement::createRenderer(RenderStyle*)
« no previous file with comments | « Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp ('k') | Source/core/svg/SVGGraphicsElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698