Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Unified Diff: third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp

Issue 1858163002: Rename inDocument() to inShadowIncludingDocument() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
diff --git a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
index e15eb53926dea9480c47f8dda3e9786a83c9bbf9..e15925ea5e47c0507bc69dcd20e7f1446b7ab352 100644
--- a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
+++ b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
@@ -797,7 +797,7 @@ static void accumulateDocumentTouchEventTargetRects(LayerHitTestRects& rects, co
for (const auto& eventTarget : *targets) {
EventTarget* target = eventTarget.key;
Node* node = target->toNode();
- if (!node || !node->inDocument())
+ if (!node || !node->inShadowIncludingDocument())
continue;
// If the document belongs to an invisible subframe it does not have a composited layer

Powered by Google App Engine
This is Rietveld 408576698