Index: chrome/browser/content_settings/mixed_content_settings_tab_helper.cc |
diff --git a/chrome/browser/content_settings/mixed_content_settings_tab_helper.cc b/chrome/browser/content_settings/mixed_content_settings_tab_helper.cc |
index 0a6e6ff3da0beb642d060997750176e02e456a6e..a6c8e9c2b7ce238411dbe0a4ac01d043279062cd 100644 |
--- a/chrome/browser/content_settings/mixed_content_settings_tab_helper.cc |
+++ b/chrome/browser/content_settings/mixed_content_settings_tab_helper.cc |
@@ -23,7 +23,8 @@ MixedContentSettingsTabHelper::MixedContentSettingsTabHelper(WebContents* tab) |
// because in Chrome these settings are maintained at the tab level instead of |
// at the frame level as Blink does. |
MixedContentSettingsTabHelper* opener_settings = |
- MixedContentSettingsTabHelper::FromWebContents(tab->GetOpener()); |
+ MixedContentSettingsTabHelper::FromWebContents( |
+ WebContents::FromRenderFrameHost(tab->GetOpener())); |
if (opener_settings) { |
insecure_content_site_instance_ = |
opener_settings->insecure_content_site_instance_; |