Index: chrome/browser/ssl/ssl_blocking_page.cc |
diff --git a/chrome/browser/ssl/ssl_blocking_page.cc b/chrome/browser/ssl/ssl_blocking_page.cc |
index 9bdbc9cf49cc642960dc7d0a5730d46b82b21b94..00d0fec6cfca23b1963662eeffa02d4eea958296 100644 |
--- a/chrome/browser/ssl/ssl_blocking_page.cc |
+++ b/chrome/browser/ssl/ssl_blocking_page.cc |
@@ -25,6 +25,7 @@ |
#include "chrome/browser/renderer_preferences_util.h" |
#include "chrome/browser/ssl/ssl_error_classification.h" |
#include "chrome/browser/ssl/ssl_error_info.h" |
+#include "chrome/browser/ui/zoom/zoom_controller.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/grit/chromium_strings.h" |
#include "chrome/grit/generated_resources.h" |
@@ -38,6 +39,7 @@ |
#include "content/public/browser/render_process_host.h" |
#include "content/public/browser/render_view_host.h" |
#include "content/public/browser/web_contents.h" |
+#include "content/public/common/renderer_preferences.h" |
#include "content/public/common/ssl_status.h" |
#include "grit/browser_resources.h" |
#include "net/base/hash_value.h" |
@@ -598,7 +600,8 @@ void SSLBlockingPage::OverrideRendererPrefs( |
content::RendererPreferences* prefs) { |
Profile* profile = Profile::FromBrowserContext( |
web_contents_->GetBrowserContext()); |
- renderer_preferences_util::UpdateFromSystemSettings(prefs, profile); |
+ renderer_preferences_util::UpdateFromSystemSettings( |
+ prefs, profile, web_contents_); |
} |
void SSLBlockingPage::OnProceed() { |