Index: android_webview/native/aw_web_contents_delegate.cc |
diff --git a/android_webview/native/aw_web_contents_delegate.cc b/android_webview/native/aw_web_contents_delegate.cc |
index 55170f07c832a099d9e28dc9181b132393988549..d8f85cff6da1f1f49317d0355ee7376b1b4af5f7 100644 |
--- a/android_webview/native/aw_web_contents_delegate.cc |
+++ b/android_webview/native/aw_web_contents_delegate.cc |
@@ -218,6 +218,13 @@ void AwWebContentsDelegate::LoadingStateChanged(WebContents* source, |
} |
} |
+bool AwWebContentsDelegate::ShouldResumeRequestsForCreatedWindow() { |
+ // Always return false here since we need to defer loading the created window |
+ // until after we have attached a new delegate to the new webcontents (which |
+ // happens asynchronously). |
+ return false; |
+} |
+ |
void AwWebContentsDelegate::RequestMediaAccessPermission( |
WebContents* web_contents, |
const content::MediaStreamRequest& request, |