| 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 035c112945d74874f44d62175bded39cf4759651..e4d49b5762633c1ce9b59847f0195e18ad33a359 100644
|
| --- a/third_party/WebKit/Source/core/html/imports/LinkImport.cpp
|
| +++ b/third_party/WebKit/Source/core/html/imports/LinkImport.cpp
|
| @@ -62,7 +62,7 @@ LinkImport::~LinkImport()
|
|
|
| Document* LinkImport::importedDocument() const
|
| {
|
| - if (!m_child || !m_owner || !m_owner->inDocument())
|
| + if (!m_child || !m_owner || !m_owner->inShadowIncludingDocument())
|
| return nullptr;
|
| if (m_child->loader()->hasError())
|
| return nullptr;
|
| @@ -101,7 +101,7 @@ void LinkImport::process()
|
|
|
| void LinkImport::didFinish()
|
| {
|
| - if (!m_owner || !m_owner->inDocument())
|
| + if (!m_owner || !m_owner->inShadowIncludingDocument())
|
| return;
|
| m_owner->scheduleEvent();
|
| }
|
|
|