| Index: third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp
|
| index ced878470d45840f130478646ca7b35b203c04bb..a84e11ec8f0777954cab41562508c857dfe85542 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp
|
| @@ -87,7 +87,7 @@ void SVGFEImageElement::fetchImageResource()
|
| void SVGFEImageElement::buildPendingResource()
|
| {
|
| clearResourceReferences();
|
| - if (!inShadowIncludingDocument())
|
| + if (!isConnected())
|
| return;
|
|
|
| AtomicString id;
|
| @@ -135,13 +135,13 @@ Node::InsertionNotificationRequest SVGFEImageElement::insertedInto(ContainerNode
|
| void SVGFEImageElement::removedFrom(ContainerNode* rootParent)
|
| {
|
| SVGFilterPrimitiveStandardAttributes::removedFrom(rootParent);
|
| - if (rootParent->inShadowIncludingDocument())
|
| + if (rootParent->isConnected())
|
| clearResourceReferences();
|
| }
|
|
|
| void SVGFEImageElement::notifyFinished(Resource*)
|
| {
|
| - if (!inShadowIncludingDocument())
|
| + if (!isConnected())
|
| return;
|
|
|
| Element* parent = parentElement();
|
|
|