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 9b02dfaa69334d0293ec18ec095d601aa672d549..2204a46cf6920570d223359aa1f560aa4dca399d 100644 |
--- a/third_party/WebKit/Source/core/dom/IntersectionObserver.cpp |
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserver.cpp |
@@ -194,8 +194,6 @@ void IntersectionObserver::unobserve(Element* target) |
void IntersectionObserver::computeIntersectionObservations() |
{ |
- if (!m_root || !m_root->inShadowIncludingDocument()) |
ojan
2016/04/15 18:19:08
Moving this makes me a bit sad because it means we
|
- return; |
Document* callbackDocument = toDocument(m_callback->getExecutionContext()); |
if (!callbackDocument) |
return; |