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

Unified Diff: content/renderer/render_view_impl.cc

Issue 475633002: Pass TouchMajor to HitTestResult (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use floats Created 6 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
« no previous file with comments | « android_webview/renderer/aw_render_view_ext.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 4ce57722e1313c044c40621e470d51ee4b99f71c..4178bc215e499251c6e277214b4fcb22c1d85d00 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2550,7 +2550,7 @@ bool RenderViewImpl::IsEditableNode(const WebNode& node) const {
bool RenderViewImpl::NodeContainsPoint(const WebNode& node,
const gfx::Point& point) const {
blink::WebHitTestResult hit_test =
- webview()->hitTestResultAt(WebPoint(point.x(), point.y()));
+ webview()->hitTestResultForTap(WebPoint(point.x(), point.y()), WebSize());
jamesr 2014/11/08 00:21:08 this is used for autofill and exposed in the conte
hush (inactive) 2014/11/08 01:00:43 This is not a behavior change. hitTestResultAt doe
return node.containsIncludingShadowDOM(hit_test.node());
}
« no previous file with comments | « android_webview/renderer/aw_render_view_ext.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698