| 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 30cdd6c86761bc4f485f4d7c5836436321c7e64b..95dc8ad78ea1f5c5d2498c5bcb7109ffa956e17b 100644
|
| --- a/content/browser/android/content_view_core_impl.cc
|
| +++ b/content/browser/android/content_view_core_impl.cc
|
| @@ -1640,14 +1640,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) {
|
|
|