| Index: content/browser/android/content_view_core_impl.cc
|
| diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
|
| index 9d3dd4dc5a65fb085c4f1c1631ab04c251e1ba63..594e3c5d0f2b147dcc066ae537bc19a35b984725 100644
|
| --- a/content/browser/android/content_view_core_impl.cc
|
| +++ b/content/browser/android/content_view_core_impl.cc
|
| @@ -1634,14 +1634,16 @@ jint ContentViewCoreImpl::GetCurrentRenderProcessId(JNIEnv* env, jobject obj) {
|
| }
|
|
|
| void ContentViewCoreImpl::OnSmartClipDataExtracted(
|
| + const gfx::Rect& clip_rect,
|
| const base::string16& result) {
|
| JNIEnv* env = AttachCurrentThread();
|
| ScopedJavaLocalRef<jobject> obj = java_ref_.get(env);
|
| if (obj.is_null())
|
| return;
|
| + ScopedJavaLocalRef<jobject> clip_rect_object(CreateJavaRect(env, clip_rect));
|
| ScopedJavaLocalRef<jstring> jresult = ConvertUTF16ToJavaString(env, result);
|
| Java_ContentViewCore_onSmartClipDataExtracted(
|
| - env, obj.obj(), jresult.obj());
|
| + env, obj.obj(), jresult.obj(), clip_rect_object.obj());
|
| }
|
|
|
| void ContentViewCoreImpl::WebContentsDestroyed(WebContents* web_contents) {
|
|
|