| Index: chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
|
| diff --git a/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc b/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
|
| index 60da4ea558032946494810bb14eadb16c73da54f..90f802822eaa12017d0f42630ba7f3f1f3e27b29 100644
|
| --- a/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
|
| +++ b/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
|
| @@ -170,11 +170,13 @@ class ClientSideDetectionHostTest : public TabContentsWrapperTestHarness {
|
| }
|
|
|
| virtual void TearDown() {
|
| - // Delete the host object on the UI thread.
|
| + // Delete the host object on the UI thread and release the
|
| + // SafeBrowsingService.
|
| BrowserThread::PostTask(
|
| BrowserThread::UI,
|
| FROM_HERE,
|
| new DeleteTask<ClientSideDetectionHost>(csd_host_.release()));
|
| + sb_service_ = NULL;
|
| message_loop_.RunAllPending();
|
| TabContentsWrapperTestHarness::TearDown();
|
| io_thread_.reset();
|
|
|