Index: chrome/browser/safe_browsing/download_protection_service_unittest.cc |
diff --git a/chrome/browser/safe_browsing/download_protection_service_unittest.cc b/chrome/browser/safe_browsing/download_protection_service_unittest.cc |
index 13c8c0bd580c8694321cf190a74a5364dd297ab3..a3c12b3a7d2bad9b4b4ebcbee44b9f6276a9d919 100644 |
--- a/chrome/browser/safe_browsing/download_protection_service_unittest.cc |
+++ b/chrome/browser/safe_browsing/download_protection_service_unittest.cc |
@@ -132,6 +132,7 @@ class DownloadProtectionServiceTest : public testing::Test { |
file_thread_.reset(new content::TestBrowserThread(BrowserThread::FILE)); |
ASSERT_TRUE(file_thread_->Start()); |
sb_service_ = new StrictMock<MockSafeBrowsingService>(); |
+ sb_service_->Initialize(); |
signature_util_ = new StrictMock<MockSignatureUtil>(); |
download_service_ = sb_service_->download_protection_service(); |
download_service_->signature_util_ = signature_util_; |
@@ -149,6 +150,7 @@ class DownloadProtectionServiceTest : public testing::Test { |
} |
virtual void TearDown() { |
+ sb_service_->ShutDown(); |
// Flush all of the thread message loops to ensure that there are no |
// tasks currently running. |
FlushThreadMessageLoops(); |