Index: components/password_manager/core/browser/login_database_unittest.cc |
diff --git a/components/password_manager/core/browser/login_database_unittest.cc b/components/password_manager/core/browser/login_database_unittest.cc |
index 26285aeccaea08420db97301372a5d9cb25d060b..2868f813196ee138e32763b58271f18018bebe5b 100644 |
--- a/components/password_manager/core/browser/login_database_unittest.cc |
+++ b/components/password_manager/core/browser/login_database_unittest.cc |
@@ -1371,7 +1371,8 @@ class LoginDatabaseMigrationTest : public testing::TestWithParam<int> { |
// Returns an empty vector on failure. Otherwise returns values in the column |
// |column_name| of the logins table. The order of the |
// returned rows is well-defined. |
- template <class T> std::vector<T> GetValues(std::string column_name) { |
+ template <class T> |
+ std::vector<T> GetValues(const std::string& column_name) { |
sql::Connection db; |
std::vector<T> results; |
if (!db.Open(database_path_)) |