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

Unified Diff: content/browser/renderer_host/render_widget_host_view_android.cc

Issue 569003002: Fix for Insertion Handle disappearing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_android.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc
index 9ccfa6ccc0491fcc4fae669b07b4fc8aa996463a..816348633a869c99300a97934af6c6fefc1ccd0f 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.cc
+++ b/content/browser/renderer_host/render_widget_host_view_android.cc
@@ -829,8 +829,7 @@ void RenderWidgetHostViewAndroid::SelectionBoundsChanged(
end_bound.edge_bottom = end_rect.bottom_left();
if (params.anchor_rect == params.focus_rect) {
- if (params.anchor_rect.x() && params.anchor_rect.y())
jdduke (slow) 2014/09/15 15:37:13 Actually, we could probably change this to if (pa
AviD 2014/09/15 16:22:19 Yes, this will reduce the frequency of the issue.
- start_bound.type = end_bound.type = cc::SELECTION_BOUND_CENTER;
+ start_bound.type = end_bound.type = cc::SELECTION_BOUND_CENTER;
} else {
start_bound.type = params.anchor_dir == blink::WebTextDirectionRightToLeft
? cc::SELECTION_BOUND_LEFT
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698