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

Unified Diff: chrome/browser/password_manager/password_store_x_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
Index: chrome/browser/password_manager/password_store_x_unittest.cc
diff --git a/chrome/browser/password_manager/password_store_x_unittest.cc b/chrome/browser/password_manager/password_store_x_unittest.cc
index d74a8e0a726d5da802b41d667142c07bb80d08e8..7923b0eacc810485b6f90c63d8d25c20af34ed86 100644
--- a/chrome/browser/password_manager/password_store_x_unittest.cc
+++ b/chrome/browser/password_manager/password_store_x_unittest.cc
@@ -256,7 +256,7 @@ void InitExpectedForms(bool autofillable,
autofillable,
false,
static_cast<double>(i + 1)};
- forms->push_back(CreatePasswordFormFromDataForTesting(data).release());
+ forms->push_back(CreatePasswordFormFromDataForTesting(data).Pass());
}
}

Powered by Google App Engine
This is Rietveld 408576698