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

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

Issue 2829553002: Remove the dup function (Closed)
Patch Set: Created 3 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/input/GestureManager.cpp
diff --git a/third_party/WebKit/Source/core/input/GestureManager.cpp b/third_party/WebKit/Source/core/input/GestureManager.cpp
index a291e0e17c3b8bbe7f924d7901089f724cd547f6..ce5f660f7a495338b71f24d1645033d3a9d264ac 100644
--- a/third_party/WebKit/Source/core/input/GestureManager.cpp
+++ b/third_party/WebKit/Source/core/input/GestureManager.cpp
@@ -188,8 +188,7 @@ WebInputEventResult GestureManager::HandleGestureTap(
IntPoint tapped_position =
FlooredIntPoint(gesture_event.PositionInRootFrame());
Node* tapped_node = current_hit_test.InnerNode();
- Element* tapped_element =
- EventHandlingUtil::ParentElementIfNeeded(tapped_node);
+ Element* tapped_element = current_hit_test.InnerElement();
UserGestureIndicator gesture_indicator(DocumentUserGestureToken::Create(
tapped_node ? &tapped_node->GetDocument() : nullptr));
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandlingUtil.cpp ('k') | third_party/WebKit/Source/core/layout/HitTestResult.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698