| 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 1e790eb56971fe51959c182e1a845a5b4d39f45c..91f3d74bb6fab0678a35a916227a7954a1ffc282 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
|
| @@ -117,7 +117,7 @@ bool SVGTextPathElement::layoutObjectIsNeeded(const ComputedStyle& style)
|
| void SVGTextPathElement::buildPendingResource()
|
| {
|
| clearResourceReferences();
|
| - if (!inShadowIncludingDocument())
|
| + if (!isConnected())
|
| return;
|
|
|
| AtomicString id;
|
| @@ -151,7 +151,7 @@ Node::InsertionNotificationRequest SVGTextPathElement::insertedInto(ContainerNod
|
| void SVGTextPathElement::removedFrom(ContainerNode* rootParent)
|
| {
|
| SVGTextContentElement::removedFrom(rootParent);
|
| - if (rootParent->inShadowIncludingDocument())
|
| + if (rootParent->isConnected())
|
| clearResourceReferences();
|
| }
|
|
|
|
|