Index: chrome/browser/password_manager/password_store_win_unittest.cc |
diff --git a/chrome/browser/password_manager/password_store_win_unittest.cc b/chrome/browser/password_manager/password_store_win_unittest.cc |
index ca7b874a2da93efb09f4275e0553f6cf63baf412..bf8a48eaa4a4e95fdc11546421c6f0dda7a7b8bb 100644 |
--- a/chrome/browser/password_manager/password_store_win_unittest.cc |
+++ b/chrome/browser/password_manager/password_store_win_unittest.cc |
@@ -120,8 +120,7 @@ class PasswordStoreWinTest : public testing::Test { |
virtual void TearDown() { |
if (store_.get()) |
store_->ShutdownOnUIThread(); |
- if (wds_.get()) |
- wds_->Shutdown(); |
+ wds_ = NULL; |
MessageLoop::current()->PostTask(FROM_HERE, MessageLoop::QuitClosure()); |
MessageLoop::current()->Run(); |
db_thread_.Stop(); |
@@ -262,7 +261,6 @@ TEST_F(PasswordStoreWinTest, DISABLED_OutstandingWDSQueries) { |
// Release the PSW and the WDS before the query can return. |
store_->ShutdownOnUIThread(); |
store_ = NULL; |
- wds_->Shutdown(); |
wds_ = NULL; |
MessageLoop::current()->RunAllPending(); |