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

Unified Diff: third_party/WebKit/Source/core/input/EventHandler.cpp

Issue 2525973002: Remove the pointer event capturing flag (Closed)
Patch Set: Created 4 years, 1 month 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/input/EventHandler.cpp
diff --git a/third_party/WebKit/Source/core/input/EventHandler.cpp b/third_party/WebKit/Source/core/input/EventHandler.cpp
index 96af9d64c8c2af73e7aed4c16e19208c50fa09ee..69b7a43710edd33da91614b341bc434a937b6a44 100644
--- a/third_party/WebKit/Source/core/input/EventHandler.cpp
+++ b/third_party/WebKit/Source/core/input/EventHandler.cpp
@@ -1176,10 +1176,8 @@ Node* EventHandler::updateMouseEventTargetNode(Node* targetNode) {
Node* newNodeUnderMouse = targetNode;
// If we're capturing, we always go right to that node.
- EventTarget* mousePointerCapturingNode =
- m_pointerEventManager->getMouseCapturingNode();
- if (mousePointerCapturingNode &&
- !RuntimeEnabledFeatures::pointerEventV1SpecCapturingEnabled()) {
+ if (EventTarget* mousePointerCapturingNode =
+ m_pointerEventManager->getMouseCapturingNode()) {
mustaq 2016/11/23 17:14:08 Nit: fix indentation.
Navid Zolghadr 2016/11/23 17:24:34 This is correct I believe. I used "git cl format"
newNodeUnderMouse = mousePointerCapturingNode->toNode();
DCHECK(newNodeUnderMouse);
} else if (m_capturingMouseEventsNode) {
« no previous file with comments | « content/public/common/content_features.cc ('k') | third_party/WebKit/Source/core/input/PointerEventManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698