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

Unified Diff: Source/core/svg/SVGElement.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/SVGElement.cpp
diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp
index c1c8e6e6df38697451038c7d5bfcf4a851ce3136..45deedc3717b3e11be82fd29e9f66aa0cc6cf2b1 100644
--- a/Source/core/svg/SVGElement.cpp
+++ b/Source/core/svg/SVGElement.cpp
@@ -960,6 +960,12 @@ bool SVGElement::hasFocusEventListeners() const
|| hasEventListeners(EventTypeNames::focus) || hasEventListeners(EventTypeNames::blur);
}
+void SVGElement::markForLayoutAndParentResourceInvalidation(RenderObject* renderer)
+{
+ ASSERT(renderer);
+ RenderSVGResourceContainer::markForLayoutAndParentResourceInvalidation(renderer, true);
+}
+
void SVGElement::invalidateInstances()
{
if (!inDocument())

Powered by Google App Engine
This is Rietveld 408576698