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

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

Issue 2769433002: Revert of Add use count for click retargeting due to capture (Closed)
Patch Set: Created 3 years, 9 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/input/MouseEventManager.cpp ('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/input/PointerEventManager.cpp
diff --git a/third_party/WebKit/Source/core/input/PointerEventManager.cpp b/third_party/WebKit/Source/core/input/PointerEventManager.cpp
index 9f87727f5ab889a192169b892c86d357f50ff0a6..61a5f01cdb83edccb0ac205f84e4d1482f67325a 100644
--- a/third_party/WebKit/Source/core/input/PointerEventManager.cpp
+++ b/third_party/WebKit/Source/core/input/PointerEventManager.cpp
@@ -169,7 +169,6 @@ WebInputEventResult PointerEventManager::dispatchPointerEvent(
DCHECK(!m_dispatchingPointerId);
AutoReset<int> dispatchHolder(&m_dispatchingPointerId, pointerId);
DispatchEventResult dispatchResult = target->dispatchEvent(pointerEvent);
-
return EventHandlingUtil::toWebInputEventResult(dispatchResult);
}
return WebInputEventResult::NotHandled;
@@ -507,7 +506,7 @@ WebInputEventResult PointerEventManager::sendMousePointerEvent(
mouseEventType == EventTypeNames::mouseup) {
WebInputEventResult clickEventResult =
m_mouseEventManager->dispatchMouseClickIfNeeded(
- mouseTarget->toNode(), mouseEvent, canvasRegionId, target);
+ mouseTarget->toNode(), mouseEvent, canvasRegionId);
result = EventHandlingUtil::mergeEventResult(clickEventResult, result);
}
}
« no previous file with comments | « third_party/WebKit/Source/core/input/MouseEventManager.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698