Index: components/user_prefs/tracked/tracked_preferences_migration_unittest.cc |
diff --git a/components/user_prefs/tracked/tracked_preferences_migration_unittest.cc b/components/user_prefs/tracked/tracked_preferences_migration_unittest.cc |
index 7557f36bb1d46d6c6c0dc7d34d272449def89e34..ed44bbad4e2c3735ae570f52505d66dba9b670db 100644 |
--- a/components/user_prefs/tracked/tracked_preferences_migration_unittest.cc |
+++ b/components/user_prefs/tracked/tracked_preferences_migration_unittest.cc |
@@ -260,7 +260,7 @@ class TrackedPreferencesMigrationTest : public testing::Test { |
// Determines whether |expected_pref_in_hash_store| has a hash in the Local |
// State hash store. |
- bool ContainsLegacyHash(std::string expected_pref_in_hash_store) { |
+ bool ContainsLegacyHash(const std::string& expected_pref_in_hash_store) { |
const base::DictionaryValue* hash_store_contents = |
PrefServiceHashStoreContents(kHashStoreId, &local_state_).GetContents(); |
return hash_store_contents && |