| Index: chrome/browser/profiles/profile_impl.cc
|
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
| index a7f2ac74986e250abe8936528b922756a6ae5dc9..7c0d0848884e606d986512b50fcc99405254f9a8 100644
|
| --- a/chrome/browser/profiles/profile_impl.cc
|
| +++ b/chrome/browser/profiles/profile_impl.cc
|
| @@ -664,6 +664,9 @@ ProfileImpl::~ProfileImpl() {
|
| true));
|
| }
|
|
|
| + if (webkit_context_.get())
|
| + webkit_context_->DeleteSessionOnlyData();
|
| +
|
| StopCreateSessionServiceTimer();
|
|
|
| // Remove pref observers
|
| @@ -829,7 +832,8 @@ ExtensionEventRouter* ProfileImpl::GetExtensionEventRouter() {
|
| ExtensionSpecialStoragePolicy*
|
| ProfileImpl::GetExtensionSpecialStoragePolicy() {
|
| if (!extension_special_storage_policy_.get())
|
| - extension_special_storage_policy_ = new ExtensionSpecialStoragePolicy();
|
| + extension_special_storage_policy_ =
|
| + new ExtensionSpecialStoragePolicy(GetHostContentSettingsMap());
|
| return extension_special_storage_policy_.get();
|
| }
|
|
|
|
|