| 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 dd61413403c559e48e221516cae3241307da3715..e12166230d1e5c6c4e600bbe65beb09b21156ada 100644
|
| --- a/chrome/browser/profiles/profile_impl_io_data.cc
|
| +++ b/chrome/browser/profiles/profile_impl_io_data.cc
|
| @@ -114,9 +114,6 @@ ProfileImplIOData::Handle::~Handle() {
|
| if (io_data_->http_server_properties_manager_)
|
| io_data_->http_server_properties_manager_->ShutdownOnPrefThread();
|
|
|
| - if (io_data_->domain_reliability_monitor_)
|
| - io_data_->domain_reliability_monitor_->DestroyReportingPref();
|
| -
|
| io_data_->ShutdownOnUIThread(GetAllContextGetters().Pass());
|
| }
|
|
|
| @@ -596,6 +593,7 @@ void ProfileImplIOData::InitializeInternal(
|
| domain_reliability_monitor_.get();
|
| monitor->InitURLRequestContext(main_context);
|
| monitor->AddBakedInConfigs();
|
| + monitor->SetDiscardUploads(!GetMetricsEnabledStateOnIOThread());
|
| network_delegate()->set_domain_reliability_monitor(monitor);
|
| }
|
|
|
|
|