Chromium Code Reviews| Index: chrome/browser/safe_browsing/client_side_detection_host_unittest.cc |
| =================================================================== |
| --- chrome/browser/safe_browsing/client_side_detection_host_unittest.cc (revision 107249) |
| +++ 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. |
|
mattm
2011/10/26 20:08:29
Should be "Delete the host object on the UI thread
Brian Ryner
2011/10/27 01:03:04
Done.
|
| BrowserThread::PostTask( |
| BrowserThread::UI, |
| FROM_HERE, |
| new DeleteTask<ClientSideDetectionHost>(csd_host_.release())); |
| + sb_service_ = NULL; |
| message_loop_.RunAllPending(); |
| TabContentsWrapperTestHarness::TearDown(); |
| io_thread_.reset(); |