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

Unified Diff: components/password_manager/core/browser/password_form_manager_unittest.cc

Issue 509553002: Remove implicit conversions from scoped_refptr to T* in components/password_manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | components/password_manager/core/browser/password_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/password_manager/core/browser/password_form_manager_unittest.cc
diff --git a/components/password_manager/core/browser/password_form_manager_unittest.cc b/components/password_manager/core/browser/password_form_manager_unittest.cc
index 77b7d4c718c8a300065c4824c966dba0203f1328..b9197ca9f48a99d1c0d4a60240e65c74cf6ee5a0 100644
--- a/components/password_manager/core/browser/password_form_manager_unittest.cc
+++ b/components/password_manager/core/browser/password_form_manager_unittest.cc
@@ -141,14 +141,14 @@ class PasswordFormManagerTest : public testing::Test {
}
virtual void TearDown() {
- if (mock_store_)
+ if (mock_store_.get())
mock_store_->Shutdown();
}
void InitializeMockStore() {
- if (!mock_store_) {
+ if (!mock_store_.get()) {
mock_store_ = new MockPasswordStore();
- ASSERT_TRUE(mock_store_);
+ ASSERT_TRUE(mock_store_.get());
}
}
« no previous file with comments | « no previous file | components/password_manager/core/browser/password_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698