| Index: chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
|
| diff --git a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
|
| index 71f930b0d9a862e4abedc0dc617c01a3e0cdd3b2..ac6b7981bd8a767a40f878fcf60471b4de8604cb 100644
|
| --- a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
|
| +++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
|
| @@ -28,6 +28,7 @@
|
| #include "chrome/browser/safe_browsing/malware_details.h"
|
| #include "chrome/browser/safe_browsing/ui_manager.h"
|
| #include "chrome/browser/tab_contents/tab_util.h"
|
| +#include "chrome/browser/ui/zoom/zoom_controller.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/common/url_constants.h"
|
| @@ -39,6 +40,7 @@
|
| #include "content/public/browser/navigation_controller.h"
|
| #include "content/public/browser/user_metrics.h"
|
| #include "content/public/browser/web_contents.h"
|
| +#include "content/public/common/renderer_preferences.h"
|
| #include "grit/browser_resources.h"
|
| #include "net/base/escape.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| @@ -398,7 +400,8 @@ void SafeBrowsingBlockingPage::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 SafeBrowsingBlockingPage::SetReportingPreference(bool report) {
|
|
|