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

Unified Diff: Source/web/WebViewImpl.cpp

Issue 476303002: Remove obsolete HitTestResult.targetNode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merge with trunk Created 6 years, 3 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 | « Source/web/WebLocalFrameImpl.cpp ('k') | Source/web/mac/WebSubstringUtil.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index ed67d3c13a51a80ff78c4f222a4cc9401e4a4ea7..dcf36a6d4bb28415509969358f240f1dde9394fe 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -1213,7 +1213,7 @@ Node* WebViewImpl::bestTapNode(const PlatformGestureEvent& tapEvent)
// FIXME: Rely on earlier hit test instead of hit testing again.
GestureEventWithHitTestResults targetedEvent =
m_page->deprecatedLocalMainFrame()->eventHandler().targetGestureEvent(tapEvent, true);
- Node* bestTouchNode = targetedEvent.hitTestResult().targetNode();
+ Node* bestTouchNode = targetedEvent.hitTestResult().innerNode();
// We might hit something like an image map that has no renderer on it
// Walk up the tree until we have a node with an attached renderer
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | Source/web/mac/WebSubstringUtil.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698