| Index: third_party/WebKit/Source/core/dom/IntersectionObserver.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/IntersectionObserver.cpp b/third_party/WebKit/Source/core/dom/IntersectionObserver.cpp
|
| index 25fa579ec7199b27897b6ba043d7e05f09a33c4c..6a8ea472c2817e87397578628abc692894520204 100644
|
| --- a/third_party/WebKit/Source/core/dom/IntersectionObserver.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/IntersectionObserver.cpp
|
| @@ -196,7 +196,7 @@ void IntersectionObserver::unobserve(Element* target)
|
|
|
| void IntersectionObserver::computeIntersectionObservations()
|
| {
|
| - if (!m_root || !m_root->inDocument())
|
| + if (!m_root || !m_root->inShadowIncludingDocument())
|
| return;
|
| Document* callbackDocument = toDocument(m_callback->getExecutionContext());
|
| if (!callbackDocument)
|
|
|