Index: components/web_contents_delegate_android/web_contents_delegate_android.cc |
diff --git a/components/web_contents_delegate_android/web_contents_delegate_android.cc b/components/web_contents_delegate_android/web_contents_delegate_android.cc |
index 7606051f6abafb2c4e0fbd85e96625904f1c5bd6..167d2d0509c256b45fd3d71bde1f1967ff8f9e79 100644 |
--- a/components/web_contents_delegate_android/web_contents_delegate_android.cc |
+++ b/components/web_contents_delegate_android/web_contents_delegate_android.cc |
@@ -261,12 +261,9 @@ void WebContentsDelegateAndroid::WebContentsCreated( |
jnew_contents = new_contents->GetJavaWebContents(); |
Java_WebContentsDelegateAndroid_webContentsCreated( |
- env, |
- obj.obj(), |
- jsource_contents.obj(), |
- opener_render_frame_id, |
- base::android::ConvertUTF8ToJavaString(env, frame_name).Release(), |
- base::android::ConvertUTF8ToJavaString(env, target_url.spec()).Release(), |
+ env, obj.obj(), jsource_contents.obj(), opener_render_frame_id, |
+ base::android::ConvertUTF8ToJavaString(env, frame_name).obj(), |
+ base::android::ConvertUTF8ToJavaString(env, target_url.spec()).obj(), |
jnew_contents.obj()); |
} |