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 04f9f1207b0ea964b6a200a61f58745b40c8ff60..2a07e892a5575bbc3dc81a3966335d9da2536aa5 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_android.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_android.cc |
@@ -27,7 +27,6 @@ |
#include "cc/output/copy_output_request.h" |
#include "cc/output/copy_output_result.h" |
#include "cc/output/latency_info_swap_promise.h" |
-#include "cc/output/viewport_selection_bound.h" |
#include "cc/resources/single_release_callback.h" |
#include "cc/surfaces/surface.h" |
#include "cc/surfaces/surface_factory.h" |
@@ -51,7 +50,6 @@ |
#include "content/browser/renderer_host/dip_util.h" |
#include "content/browser/renderer_host/frame_metadata_util.h" |
#include "content/browser/renderer_host/input/synthetic_gesture_target_android.h" |
-#include "content/browser/renderer_host/input/ui_touch_selection_helper.h" |
#include "content/browser/renderer_host/input/web_input_event_builders_android.h" |
#include "content/browser/renderer_host/input/web_input_event_util.h" |
#include "content/browser/renderer_host/render_process_host_impl.h" |
@@ -1286,8 +1284,7 @@ void RenderWidgetHostViewAndroid::OnFrameMetadataUpdated( |
selection_controller_->OnSelectionEmpty( |
frame_metadata.selection.is_empty_text_form_control); |
selection_controller_->OnSelectionBoundsChanged( |
- ConvertSelectionBound(frame_metadata.selection.start), |
- ConvertSelectionBound(frame_metadata.selection.end)); |
+ frame_metadata.selection.start, frame_metadata.selection.end); |
// Set parameters for adaptive handle orientation. |
gfx::SizeF viewport_size(frame_metadata.scrollable_viewport_size); |