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()) |