Index: chrome/browser/profiles/profile_impl_io_data.cc |
diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc |
index af21c337e34eef02a955aa73bacfbdec58fd2fda..279230bb484f62e22a58c272c871efe27d8c82e5 100644 |
--- a/chrome/browser/profiles/profile_impl_io_data.cc |
+++ b/chrome/browser/profiles/profile_impl_io_data.cc |
@@ -96,8 +96,7 @@ ProfileImplIOData::Handle::~Handle() { |
save_prefs = !chromeos::ProfileHelper::IsSigninProfile(profile_); |
#endif |
if (save_prefs) { |
- io_data_->predictor_->SaveStateForNextStartupAndTrim( |
- profile_->GetPrefs()); |
+ io_data_->predictor_->SaveStateForNextStartupAndTrim(); |
} |
battre
2014/07/01 08:27:48
nit: remove curlys?
Bence
2014/07/01 17:39:27
Done.
|
io_data_->predictor_->ShutdownOnUIThread(); |
} |
@@ -185,7 +184,8 @@ ProfileImplIOData::Handle::CreateMainRequestContextGetter( |
->InitNetworkPredictor(profile_->GetPrefs(), |
local_state, |
io_thread, |
- main_request_context_getter_.get()); |
+ main_request_context_getter_.get(), |
+ io_data_); |
content::NotificationService::current()->Notify( |
chrome::NOTIFICATION_PROFILE_URL_REQUEST_CONTEXT_GETTER_INITIALIZED, |