| Index: third_party/WebKit/Source/core/paint/ClipPathClipper.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/ClipPathClipper.cpp b/third_party/WebKit/Source/core/paint/ClipPathClipper.cpp
|
| index 4351c73c849716e31a1eda109058614dde79b871..dd135d45866d48423b89d13e71ad85eab714375d 100644
|
| --- a/third_party/WebKit/Source/core/paint/ClipPathClipper.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/ClipPathClipper.cpp
|
| @@ -19,7 +19,7 @@ LayoutSVGResourceClipper* resolveElementReference(
|
| const LayoutObject& layoutObject,
|
| const ReferenceClipPathOperation& referenceClipPathOperation)
|
| {
|
| - if (layoutObject.isSVG()) {
|
| + if (layoutObject.isSVG() && !layoutObject.isSVGRoot()) {
|
| // The reference will have been resolved in
|
| // SVGResources::buildResources, so we can just use the LayoutObject's
|
| // SVGResources.
|
|
|