| Index: Source/core/rendering/svg/RenderSVGResourceMarker.cpp
|
| diff --git a/Source/core/rendering/svg/RenderSVGResourceMarker.cpp b/Source/core/rendering/svg/RenderSVGResourceMarker.cpp
|
| index 4b5652280b96b76445f77b20fb20475a71a828d5..7463b7f8fe4cdd060ef8afe8ab53aead0d7a2616 100644
|
| --- a/Source/core/rendering/svg/RenderSVGResourceMarker.cpp
|
| +++ b/Source/core/rendering/svg/RenderSVGResourceMarker.cpp
|
| @@ -25,7 +25,6 @@
|
|
|
| #include "core/platform/graphics/GraphicsContextStateSaver.h"
|
| #include "core/rendering/svg/RenderSVGContainer.h"
|
| -#include "core/rendering/svg/RenderSVGRoot.h"
|
| #include "core/rendering/svg/SVGRenderSupport.h"
|
| #include "core/svg/SVGElement.h"
|
| #include "core/svg/SVGMarkerElement.h"
|
| @@ -45,9 +44,12 @@ RenderSVGResourceMarker::~RenderSVGResourceMarker()
|
|
|
| void RenderSVGResourceMarker::layout()
|
| {
|
| + if (!needsLayout())
|
| + return;
|
| +
|
| // Invalidate all resources if our layout changed.
|
| if (everHadLayout() && selfNeedsLayout())
|
| - RenderSVGRoot::addResourceForClientInvalidation(this);
|
| + removeAllClientsFromCache();
|
|
|
| // RenderSVGHiddenContainer overwrites layout(). We need the
|
| // layouting of RenderSVGContainer for calculating local
|
|
|