Index: android_webview/native/aw_contents.cc |
diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc |
index 2155f578200d14ae75af6d1584b2709ebfa183c0..e38fd5e1fc4131ffcba3c909295bde4f6367611a 100644 |
--- a/android_webview/native/aw_contents.cc |
+++ b/android_webview/native/aw_contents.cc |
@@ -297,6 +297,7 @@ void AwContents::Destroy(JNIEnv* env, jobject obj) { |
// the java peer. This is important for the popup window case, where we are |
// swapping AwContents out that share the same java AwContentsClientBridge. |
// See b/15074651. |
+ AwContentsClientBridgeBase::Disassociate(web_contents_.get()); |
contents_client_bridge_.reset(); |
// We do not delete AwContents immediately. Some applications try to delete |