Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7511)

Unified Diff: chrome/browser/password_manager/password_store_mac_unittest.cc

Issue 584373002: Remove implicit conversions from scoped_refptr to T* in PasswordStoreMac test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/password_store_mac_unittest.cc
diff --git a/chrome/browser/password_manager/password_store_mac_unittest.cc b/chrome/browser/password_manager/password_store_mac_unittest.cc
index 47f86a42c1291d3322cce137c4d1ffd042b03041..8d75a4b9c0a38fdedb528c9daaa742b2b5adc346 100644
--- a/chrome/browser/password_manager/password_store_mac_unittest.cc
+++ b/chrome/browser/password_manager/password_store_mac_unittest.cc
@@ -1070,7 +1070,7 @@ class PasswordStoreMacTest : public testing::Test {
virtual void TearDown() {
store_->Shutdown();
- EXPECT_FALSE(store_->GetBackgroundTaskRunner());
+ EXPECT_FALSE(store_->GetBackgroundTaskRunner().get());
}
void WaitForStoreUpdate() {
@@ -1082,7 +1082,7 @@ class PasswordStoreMacTest : public testing::Test {
base::MessageLoop::current()->Run();
}
- scoped_refptr<TestPasswordStoreMac> store() { return store_; }
+ TestPasswordStoreMac* store() { return store_.get(); }
MockAppleKeychain* keychain() { return keychain_; }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698