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 b381a036da7f4cf1b6fa74a4e8eba9b01831e834..8b54ce0f54b1ec5b07048e8c039857be2497b709 100644 |
--- a/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc |
+++ b/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc |
@@ -282,6 +282,8 @@ TabContentsWrapper::TabContentsWrapper(TabContents* contents) |
password_manager_delegate_.reset(new PasswordManagerDelegateImpl(this)); |
password_manager_.reset( |
new PasswordManager(contents, password_manager_delegate_.get())); |
+ per_tab_prefs_.reset( |
+ profile()->GetPrefs()->CreatePrefServiceWithPerTabPrefStore()); |
prerender_tab_helper_.reset(new prerender::PrerenderTabHelper(this)); |
print_view_manager_.reset(new printing::PrintViewManager(this)); |
restore_tab_helper_.reset(new RestoreTabHelper(this)); |