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

Unified Diff: third_party/WebKit/Source/core/events/EventPath.cpp

Issue 1858163002: Rename inDocument() to inShadowIncludingDocument() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/events/EventPath.cpp
diff --git a/third_party/WebKit/Source/core/events/EventPath.cpp b/third_party/WebKit/Source/core/events/EventPath.cpp
index 67d80ddc0db855f978f49c4ff69bb35d845b7ace..af46250750bb56190471d0aed6dd893ce5e3f517 100644
--- a/third_party/WebKit/Source/core/events/EventPath.cpp
+++ b/third_party/WebKit/Source/core/events/EventPath.cpp
@@ -268,7 +268,7 @@ void EventPath::adjustForRelatedTarget(Node& target, EventTarget* relatedTarget)
return;
if (target.document() != relatedNode->document())
return;
- if (!target.inDocument() || !relatedNode->inDocument())
+ if (!target.inShadowIncludingDocument() || !relatedNode->inShadowIncludingDocument())
return;
RelatedTargetMap relatedNodeMap;

Powered by Google App Engine
This is Rietveld 408576698