Index: chrome/browser/tab_contents/chrome_interstitial_page.cc |
=================================================================== |
--- chrome/browser/tab_contents/chrome_interstitial_page.cc (revision 86494) |
+++ chrome/browser/tab_contents/chrome_interstitial_page.cc (working copy) |
@@ -5,6 +5,8 @@ |
#include "chrome/browser/tab_contents/chrome_interstitial_page.h" |
#include "chrome/browser/dom_operation_notification_details.h" |
+#include "chrome/browser/renderer_preferences_util.h" |
+#include "content/browser/tab_contents/tab_contents.h" |
#include "content/common/notification_service.h" |
#include "content/common/notification_source.h" |
@@ -12,6 +14,10 @@ |
bool new_navigation, |
const GURL& url) |
: InterstitialPage(tab, new_navigation, url) { |
+ RendererPreferences prefs; |
+ renderer_preferences_util::UpdateFromSystemSettings( |
+ &prefs, tab->profile()); |
+ set_renderer_preferences(prefs); |
} |
ChromeInterstitialPage::~ChromeInterstitialPage() { |