| Index: third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp b/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
|
| index 8cb6cb5793e6f0eadab15b912b589c04f9f34672..7f6063e64e19f3309d96eeaa0552b055a1eaa3e7 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
|
| @@ -120,7 +120,7 @@ bool SVGTextPathElement::layoutObjectIsNeeded(const ComputedStyle& style)
|
| void SVGTextPathElement::buildPendingResource()
|
| {
|
| clearResourceReferences();
|
| - if (!inDocument())
|
| + if (!inShadowIncludingDocument())
|
| return;
|
|
|
| AtomicString id;
|
| @@ -154,7 +154,7 @@ Node::InsertionNotificationRequest SVGTextPathElement::insertedInto(ContainerNod
|
| void SVGTextPathElement::removedFrom(ContainerNode* rootParent)
|
| {
|
| SVGTextContentElement::removedFrom(rootParent);
|
| - if (rootParent->inDocument())
|
| + if (rootParent->inShadowIncludingDocument())
|
| clearResourceReferences();
|
| }
|
|
|
|
|