Index: chrome/test/base/testing_profile.cc |
=================================================================== |
--- chrome/test/base/testing_profile.cc (revision 124285) |
+++ chrome/test/base/testing_profile.cc (working copy) |
@@ -597,6 +597,10 @@ |
} |
void TestingProfile::ResetRequestContext() { |
+ // Any objects holding live URLFetchers should be deleted before the request |
+ // context is shut down. |
+ template_url_fetcher_.reset(); |
+ |
request_context_ = NULL; |
} |