| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp
|
| index 5afa09385318d88a4e43bdc452f2b7807d40028a..fd476fab394a3f7f0ac9892136fb58601dc7f742 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp
|
| @@ -136,6 +136,10 @@ SVGPaintServer LayoutSVGResourcePattern::preparePaintServer(
|
| if (!patternElement)
|
| return SVGPaintServer::invalid();
|
|
|
| + // Validate patter DOM state before building the actual
|
| + // pattern. This should avoid tearing down the pattern we're
|
| + // currently working on. Preferably the state validation should have
|
| + // no side-effects though.
|
| if (m_shouldCollectPatternAttributes) {
|
| patternElement->synchronizeAnimatedSVGAttribute(anyQName());
|
|
|
|
|