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

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

Issue 2972223002: Revert https://codereview.chromium.org/2860033003 (Closed)
Patch Set: Created 3 years, 5 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 c3c1205cd5066c5d30262b97b7c166ed591610f9..8e6ab8692af47b0b05377e05af5684b2f0b75ea6 100644
--- a/chrome/test/base/testing_io_thread_state.cc
+++ b/chrome/test/base/testing_io_thread_state.cc
@@ -96,7 +96,8 @@ void TestingIOThreadState::Initialize(const base::Closure& done) {
void TestingIOThreadState::Shutdown(const base::Closure& done) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
- io_thread_state_->CleanUp();
+ delete io_thread_state_->globals();
+ io_thread_state_->SetGlobalsForTesting(NULL);
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