| 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 38401252ba492750dcacb32add0bd7f50b70bd1b..91bb08014f4a4de0ec5fb10ec4096b3cdee38a8a 100644
|
| --- a/chrome/browser/profiles/profile_io_data.cc
|
| +++ b/chrome/browser/profiles/profile_io_data.cc
|
| @@ -262,7 +262,8 @@ ProfileIOData::ProfileIOData(bool is_incognito)
|
| : initialized_(false),
|
| ALLOW_THIS_IN_INITIALIZER_LIST(
|
| resource_context_(new ResourceContext(this))),
|
| - initialized_on_UI_thread_(false) {
|
| + initialized_on_UI_thread_(false),
|
| + is_incognito_(is_incognito) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| }
|
|
|
| @@ -525,6 +526,7 @@ void ProfileIOData::ApplyProfileParamsToContext(
|
| void ProfileIOData::ShutdownOnUIThread() {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| enable_referrers_.Destroy();
|
| + enable_metrics_.Destroy();
|
| clear_local_state_on_exit_.Destroy();
|
| safe_browsing_enabled_.Destroy();
|
| session_startup_pref_.Destroy();
|
|
|