| 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 e53b076db0a7ad2cf6119d9848d3d9d5adba4947..c389524ea9a271bca72be9edef04321db7a13168 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_android.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_view_android.cc
|
| @@ -554,13 +554,10 @@ void RenderWidgetHostViewAndroid::OnStartContentIntent(
|
| }
|
|
|
| void RenderWidgetHostViewAndroid::OnSmartClipDataExtracted(
|
| - const base::string16& result) {
|
| - // Custom serialization over IPC isn't allowed normally for security reasons.
|
| - // Since this feature is only used in (single-process) WebView, there are no
|
| - // security issues. Enforce that it's only called in single process mode.
|
| - CHECK(RenderProcessHost::run_renderer_in_process());
|
| + const ViewHostMsg_SmartClip_Params& params) {
|
| if (content_view_core_)
|
| - content_view_core_->OnSmartClipDataExtracted(result);
|
| + content_view_core_->OnSmartClipDataExtracted(params.clip_rect,
|
| + params.clip_data);
|
| }
|
|
|
| bool RenderWidgetHostViewAndroid::OnTouchEvent(
|
|
|