Index: chrome/browser/ui/tab_contents/tab_contents_wrapper.cc |
diff --git a/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc b/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc |
index 972647f0cd3d81eaa8af7fb566e6bb80ae37ab88..3f826e1722b665d069bc502d85c35d61d7fbca0a 100644 |
--- a/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc |
+++ b/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc |
@@ -305,6 +305,8 @@ TabContentsWrapper::TabContentsWrapper(TabContents* contents) |
webnavigation_observer_.reset( |
new ExtensionWebNavigationTabObserver(contents)); |
external_protocol_observer_.reset(new ExternalProtocolObserver(contents)); |
+ per_tab_prefs_.reset( |
+ profile()->GetPrefs()->CreatePrefServiceWithPerTabPrefStore()); |
Avi (use Gerrit)
2011/11/21 16:40:54
Keep in the same order as the declarations.
mnaganov (inactive)
2011/11/21 17:02:11
Done.
|
plugin_observer_.reset(new PluginObserver(this)); |
print_preview_.reset(new printing::PrintPreviewMessageHandler(contents)); |
sad_tab_observer_.reset(new SadTabObserver(contents)); |