Index: android_webview/browser/aw_safe_browsing_ui_manager.cc |
diff --git a/android_webview/browser/aw_safe_browsing_ui_manager.cc b/android_webview/browser/aw_safe_browsing_ui_manager.cc |
index c2ac6571f7e39b52f60b7082abb4ba8fb586e3b5..fdcc6d30d9564fae00d2340a1597c92cc61fe70c 100644 |
--- a/android_webview/browser/aw_safe_browsing_ui_manager.cc |
+++ b/android_webview/browser/aw_safe_browsing_ui_manager.cc |
@@ -24,7 +24,7 @@ void AwSafeBrowsingUIManager::DisplayBlockingPage( |
WebContents* web_contents = resource.web_contents_getter.Run(); |
// Check the size of the view |
UIManagerClient* client = UIManagerClient::FromWebContents(web_contents); |
- if (!client || !client->CanShowInterstitial()) { |
+ if (!client || !client->CanShowBigInterstitial()) { |
LOG(WARNING) << "The view is not suitable to show the SB interstitial"; |
OnBlockingPageDone(std::vector<UnsafeResource>{resource}, false, |
web_contents, resource.url.GetWithEmptyPath()); |