Index: android_webview/native/aw_contents_client_bridge.cc |
diff --git a/android_webview/native/aw_contents_client_bridge.cc b/android_webview/native/aw_contents_client_bridge.cc |
index 2b16fcc89614becab919eee98bdd14be40b1814d..9e570af6761308a0efd7d293ce26c41705c4701a 100644 |
--- a/android_webview/native/aw_contents_client_bridge.cc |
+++ b/android_webview/native/aw_contents_client_bridge.cc |
@@ -340,20 +340,6 @@ void AwContentsClientBridge::RunBeforeUnloadDialog( |
env, obj.obj(), jurl.obj(), jmessage.obj(), callback_id); |
} |
-bool AwContentsClientBridge::ShouldOverrideUrlLoading( |
- const base::string16& url, bool has_user_gesture, bool is_redirect) { |
- JNIEnv* env = AttachCurrentThread(); |
- ScopedJavaLocalRef<jobject> obj = java_ref_.get(env); |
- if (obj.is_null()) |
- return false; |
- ScopedJavaLocalRef<jstring> jurl = ConvertUTF16ToJavaString(env, url); |
- devtools_instrumentation::ScopedEmbedderCallbackTask( |
- "shouldOverrideUrlLoading"); |
- return Java_AwContentsClientBridge_shouldOverrideUrlLoading( |
- env, obj.obj(), |
- jurl.obj(), has_user_gesture, is_redirect); |
-} |
- |
void AwContentsClientBridge::ConfirmJsResult(JNIEnv* env, |
jobject, |
int id, |