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

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

Issue 1083083007: Substitued pattern push_back(ptr.release()) with push_back(ptr.Pass()) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: release Pass substitution Created 5 years, 8 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 | « components/password_manager/core/browser/password_store_default_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/password_manager/core/browser/password_store_unittest.cc
diff --git a/components/password_manager/core/browser/password_store_unittest.cc b/components/password_manager/core/browser/password_store_unittest.cc
index 6d1a350bc5d0b9670828d59a0edbd6e7197b7f8e..ba4140bb70088014d7a30d74a1374f71a314352a 100644
--- a/components/password_manager/core/browser/password_store_unittest.cc
+++ b/components/password_manager/core/browser/password_store_unittest.cc
@@ -225,7 +225,7 @@ TEST_F(PasswordStoreTest, IgnoreOldWwwGoogleLogins) {
ScopedVector<PasswordForm> all_forms;
for (size_t i = 0; i < arraysize(form_data); ++i) {
all_forms.push_back(
- CreatePasswordFormFromDataForTesting(form_data[i]).release());
+ CreatePasswordFormFromDataForTesting(form_data[i]).Pass());
store->AddLogin(*all_forms.back());
}
base::MessageLoop::current()->RunUntilIdle();
« no previous file with comments | « components/password_manager/core/browser/password_store_default_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698