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

Unified Diff: components/sync/test/fake_server/fake_server_verifier.cc

Issue 2740143002: Change base::Value::ListStorage to std::vector<base::Value> (Closed)
Patch Set: Fix Android Compilation Error Created 3 years, 9 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: components/sync/test/fake_server/fake_server_verifier.cc
diff --git a/components/sync/test/fake_server/fake_server_verifier.cc b/components/sync/test/fake_server/fake_server_verifier.cc
index 10f68c812f6c1a66c7b0fe17100c5072baf5460f..f74c28f7cf6bd6d6d0413eb4017c98751d2db8d5 100644
--- a/components/sync/test/fake_server/fake_server_verifier.cc
+++ b/components/sync/test/fake_server/fake_server_verifier.cc
@@ -106,7 +106,7 @@ AssertionResult FakeServerVerifier::VerifyEntityCountByTypeAndName(
if (entities->GetList(model_type_string, &entity_list)) {
base::Value name_value(name);
for (const auto& entity : *entity_list) {
- if (name_value.Equals(entity.get()))
+ if (name_value.Equals(&entity))
actual_count++;
}
}

Powered by Google App Engine
This is Rietveld 408576698