Chromium Code Reviews| 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 |