| Index: third_party/WebKit/Source/core/html/imports/LinkImport.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/imports/LinkImport.cpp b/third_party/WebKit/Source/core/html/imports/LinkImport.cpp
|
| index ca8fcb4f0c40e9dea10491779b67252d6dc2afd3..4d2b4c11e5897086b183962cb52a663b38ff4c37 100644
|
| --- a/third_party/WebKit/Source/core/html/imports/LinkImport.cpp
|
| +++ b/third_party/WebKit/Source/core/html/imports/LinkImport.cpp
|
| @@ -56,7 +56,7 @@ LinkImport::~LinkImport()
|
|
|
| Document* LinkImport::importedDocument() const
|
| {
|
| - if (!m_child || !m_owner || !m_owner->inShadowIncludingDocument())
|
| + if (!m_child || !m_owner || !m_owner->isConnected())
|
| return nullptr;
|
| if (m_child->loader()->hasError())
|
| return nullptr;
|
| @@ -97,7 +97,7 @@ void LinkImport::process()
|
|
|
| void LinkImport::didFinish()
|
| {
|
| - if (!m_owner || !m_owner->inShadowIncludingDocument())
|
| + if (!m_owner || !m_owner->isConnected())
|
| return;
|
| m_owner->scheduleEvent();
|
| }
|
|
|