| Index: chrome/test/base/testing_profile.cc
|
| diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
|
| index 4be44c5379bfd8f9b4d5ad085a4f516d49bb9d87..10af8166ae33fda381550b152c410e53a5f91f10 100644
|
| --- a/chrome/test/base/testing_profile.cc
|
| +++ b/chrome/test/base/testing_profile.cc
|
| @@ -532,6 +532,11 @@ TestingProfile::~TestingProfile() {
|
|
|
| if (pref_proxy_config_tracker_.get())
|
| pref_proxy_config_tracker_->DetachFromPrefService();
|
| +
|
| + // Shutdown storage partitions before we post a task to delete
|
| + // the resource context.
|
| + ShutdownStoragePartitions();
|
| +
|
| // Failing a post == leaks == heapcheck failure. Make that an immediate test
|
| // failure.
|
| if (resource_context_) {
|
|
|