| Index: chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
|
| ===================================================================
|
| --- chrome/browser/safe_browsing/client_side_detection_host_unittest.cc (revision 107068)
|
| +++ chrome/browser/safe_browsing/client_side_detection_host_unittest.cc (working copy)
|
| @@ -170,11 +170,13 @@
|
| }
|
|
|
| virtual void TearDown() {
|
| - // Delete the host object on the UI thread.
|
| + // Delete the host object and release the SafeBrowsingService on the UI
|
| + // thread.
|
| BrowserThread::PostTask(
|
| BrowserThread::UI,
|
| FROM_HERE,
|
| new DeleteTask<ClientSideDetectionHost>(csd_host_.release()));
|
| + sb_service_ = NULL;
|
| message_loop_.RunAllPending();
|
| TabContentsWrapperTestHarness::TearDown();
|
| io_thread_.reset();
|
|
|