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

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

Issue 669153002: Relocate markForLayoutAndParentResourceInvalidation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove accidental FIXME. 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/SVGForeignObjectElement.cpp
diff --git a/Source/core/svg/SVGForeignObjectElement.cpp b/Source/core/svg/SVGForeignObjectElement.cpp
index d4594e92fd61dabb73c7f0b98dbec0ee394a55b1..57451f9a391b53ecbbb6f18d1a932e74d820e549 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"
@@ -111,7 +110,7 @@ void SVGForeignObjectElement::svgAttributeChanged(const QualifiedName& attrName)
updateRelativeLengthsInformation();
if (RenderObject* renderer = this->renderer())
- RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer);
+ boundsChanged(renderer);
pdr. 2014/10/22 17:42:12 Can we move this under the isLengthAttribute condi
fs 2014/10/23 09:15:29 Done.
}
RenderObject* SVGForeignObjectElement::createRenderer(RenderStyle*)

Powered by Google App Engine
This is Rietveld 408576698