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(); |
} |