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

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: Comment Updates 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 daccde28b70c60bd04b1e8b7790b7b0597c22ce0..b45bfa3243125f4b6a5d5bb5ba3f926efcd00b5f 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