| Index: chrome/browser/profiles/profile_impl.cc
|
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
| index 9ee9a804212c0e234fb56b3e86f53960d37a069e..1b822d268231659f1a11ac3126ff393e926c68b5 100644
|
| --- a/chrome/browser/profiles/profile_impl.cc
|
| +++ b/chrome/browser/profiles/profile_impl.cc
|
| @@ -69,6 +69,7 @@
|
| #include "chrome/browser/signin/signin_ui_util.h"
|
| #include "chrome/browser/ssl/chrome_ssl_host_state_delegate.h"
|
| #include "chrome/browser/ssl/chrome_ssl_host_state_delegate_factory.h"
|
| +#include "chrome/browser/ui/prefs/prefs_tab_helper.h"
|
| #include "chrome/browser/ui/startup/startup_browser_creator.h"
|
| #include "chrome/common/chrome_constants.h"
|
| #include "chrome/common/chrome_paths_internal.h"
|
| @@ -906,7 +907,8 @@ PrefService* ProfileImpl::GetOffTheRecordPrefs() {
|
| // The new ExtensionPrefStore is ref_counted and the new PrefService
|
| // stores a reference so that we do not leak memory here.
|
| otr_prefs_.reset(prefs_->CreateIncognitoPrefService(
|
| - CreateExtensionPrefStore(this, true)));
|
| + CreateExtensionPrefStore(this, true),
|
| + base::Bind(&PrefsTabHelper::InitIncognitoUserPrefStore)));
|
| }
|
| return otr_prefs_.get();
|
| }
|
|
|