Index: chrome/browser/search_engines/search_provider_install_data_unittest.cc |
diff --git a/chrome/browser/search_engines/search_provider_install_data_unittest.cc b/chrome/browser/search_engines/search_provider_install_data_unittest.cc |
index aeaf4d796ca76e0a863a45fc59d92b3e0944602c..4954ba628acf29b9ff73f7e5185b99b3d919a9ee 100644 |
--- a/chrome/browser/search_engines/search_provider_install_data_unittest.cc |
+++ b/chrome/browser/search_engines/search_provider_install_data_unittest.cc |
@@ -173,9 +173,7 @@ class SearchProviderInstallDataTest : public testing::Test { |
} |
virtual void TearDown() { |
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO)->PostTask( |
- FROM_HERE, |
- new DeleteTask<SearchProviderInstallData>(install_data_)); |
+ BrowserThread::DeleteSoon(BrowserThread::IO, FROM_HERE, install_data_); |
install_data_ = NULL; |
// Make sure that the install data class on the UI thread gets cleaned up. |