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

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

Issue 2343923003: Make event.composedPath() on window behave the same way as that on document (Closed)
Patch Set: rebased Created 4 years, 2 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
« no previous file with comments | « third_party/WebKit/Source/core/events/EventPath.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9d980395319b8b1187b99015e1391f39c640a9a6..fc5a15a9ed4a094027c2205aebf10ff434cf2149 100644
--- a/third_party/WebKit/Source/core/events/EventPath.cpp
+++ b/third_party/WebKit/Source/core/events/EventPath.cpp
@@ -384,7 +384,7 @@ void EventPath::adjustTouchList(
}
}
-const NodeEventContext& EventPath::topNodeEventContext() {
+NodeEventContext& EventPath::topNodeEventContext() {
DCHECK(!isEmpty());
return last();
}
« no previous file with comments | « third_party/WebKit/Source/core/events/EventPath.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698