Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Unified Diff: chrome/test/base/testing_io_thread_state.cc

Issue 2860033003: Don't delay creation of system URLRequestContext until first use (Closed)
Patch Set: Remove comment Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | components/proxy_config/pref_proxy_config_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/testing_io_thread_state.cc
diff --git a/chrome/test/base/testing_io_thread_state.cc b/chrome/test/base/testing_io_thread_state.cc
index 8e6ab8692af47b0b05377e05af5684b2f0b75ea6..c3c1205cd5066c5d30262b97b7c166ed591610f9 100644
--- a/chrome/test/base/testing_io_thread_state.cc
+++ b/chrome/test/base/testing_io_thread_state.cc
@@ -96,8 +96,7 @@ void TestingIOThreadState::Initialize(const base::Closure& done) {
void TestingIOThreadState::Shutdown(const base::Closure& done) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
- delete io_thread_state_->globals();
- io_thread_state_->SetGlobalsForTesting(NULL);
+ io_thread_state_->CleanUp();
done.Run();
}
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | components/proxy_config/pref_proxy_config_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698