Index: chrome/browser/profiles/profile_io_data.cc |
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc |
index e8695f3e3e7c94c2fca480a5daac8b362a936db6..ebd01d78c6760d2171bf1659dd14fc50e2cb9144 100644 |
--- a/chrome/browser/profiles/profile_io_data.cc |
+++ b/chrome/browser/profiles/profile_io_data.cc |
@@ -216,6 +216,8 @@ void ProfileIOData::InitializeProfileParams(Profile* profile) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
PrefService* pref_service = profile->GetPrefs(); |
+ next_download_id_thunk_ = profile->GetDownloadManager()->GetNextIdThunk(); |
+ |
scoped_ptr<ProfileParams> params(new ProfileParams); |
params->is_incognito = profile->IsOffTheRecord(); |
params->clear_local_state_on_exit = |