| Index: chrome/browser/profiles/off_the_record_profile_impl.cc
|
| diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc
|
| index 842a30d82fc9b8735d0b323d3056209469d1ad79..6fd6e94f42a981e371d046ca7b609a64f9d1362e 100644
|
| --- a/chrome/browser/profiles/off_the_record_profile_impl.cc
|
| +++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
|
| @@ -148,7 +148,7 @@ OffTheRecordProfileImpl::~OffTheRecordProfileImpl() {
|
| BrowserThread::IO, FROM_HERE,
|
| base::Bind(&NotifyOTRProfileDestroyedOnIOThread, profile_, this));
|
|
|
| - if (host_content_settings_map_)
|
| + if (host_content_settings_map_.get())
|
| host_content_settings_map_->ShutdownOnUIThread();
|
|
|
| if (pref_proxy_config_tracker_)
|
| @@ -305,7 +305,7 @@ HostContentSettingsMap* OffTheRecordProfileImpl::GetHostContentSettingsMap() {
|
| // Retrieve the host content settings map of the parent profile in order to
|
| // ensure the preferences have been migrated.
|
| profile_->GetHostContentSettingsMap();
|
| - if (!host_content_settings_map_) {
|
| + if (!host_content_settings_map_.get()) {
|
| host_content_settings_map_ = new HostContentSettingsMap(GetPrefs(), true);
|
| #if defined(ENABLE_EXTENSIONS)
|
| ExtensionService* extension_service = GetExtensionService();
|
|
|