Index: chrome/browser/ui/tab_contents/per_tab_prefs_tab_helper.cc |
diff --git a/chrome/browser/ui/tab_contents/per_tab_prefs_tab_helper.cc b/chrome/browser/ui/tab_contents/per_tab_prefs_tab_helper.cc |
index 4a5abb934960abcfb3c9dca2d8006a2c12a9ff8d..a501600b5c5b48e46aaa2691f441cbb73b946acc 100644 |
--- a/chrome/browser/ui/tab_contents/per_tab_prefs_tab_helper.cc |
+++ b/chrome/browser/ui/tab_contents/per_tab_prefs_tab_helper.cc |
@@ -48,6 +48,10 @@ void PerTabPrefsTabHelper::RegisterPerTabUserPrefs(PrefService* prefs) { |
PrefService::UNSYNCABLE_PREF); |
} |
+void PerTabPrefsTabHelper::RenderViewCreated(RenderViewHost* render_view_host) { |
+ wrapper_->UpdateWebPreferences(); |
+} |
+ |
void PerTabPrefsTabHelper::TabContentsDestroyed(TabContents* tab) { |
pref_change_registrar_.RemoveAll(); |
} |