Chromium Code Reviews| Index: Source/core/svg/SVGElement.cpp |
| diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp |
| index c1c8e6e6df38697451038c7d5bfcf4a851ce3136..5e8f4abb5d43fafa687f988c91d8822e08ad86bb 100644 |
| --- a/Source/core/svg/SVGElement.cpp |
| +++ b/Source/core/svg/SVGElement.cpp |
| @@ -960,6 +960,13 @@ bool SVGElement::hasFocusEventListeners() const |
| || hasEventListeners(EventTypeNames::focus) || hasEventListeners(EventTypeNames::blur); |
| } |
| +void SVGElement::markForLayoutAndParentResourceInvalidation(RenderObject* renderer) |
| +{ |
| + ASSERT(renderer); |
| + // FIXME: Hoist setNeedsLayoutAndFullPaintInvalidation out of thw below. |
|
fs
2014/10/22 15:08:56
Oops, had intended to remove this... Will do that
|
| + RenderSVGResourceContainer::markForLayoutAndParentResourceInvalidation(renderer, true); |
| +} |
| + |
| void SVGElement::invalidateInstances() |
| { |
| if (!inDocument()) |