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

Unified Diff: chrome/browser/sync/test/integration/preferences_helper.cc

Issue 2816513002: Revert of Change base::Value::ListStorage to std::vector<base::Value> (Closed)
Patch Set: Created 3 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/sync/test/integration/preferences_helper.cc
diff --git a/chrome/browser/sync/test/integration/preferences_helper.cc b/chrome/browser/sync/test/integration/preferences_helper.cc
index 3b50d009175bb35215598a035ff821c2be0565b2..3989df9e7fb1dafd26c730c3a4ecae6f31b4df7c 100644
--- a/chrome/browser/sync/test/integration/preferences_helper.cc
+++ b/chrome/browser/sync/test/integration/preferences_helper.cc
@@ -77,7 +77,7 @@
for (base::ListValue::const_iterator it = new_value.begin();
it != new_value.end();
++it) {
- list->Append(it->CreateDeepCopy());
+ list->Append((*it)->CreateDeepCopy());
}
}
@@ -87,7 +87,7 @@
for (base::ListValue::const_iterator it = new_value.begin();
it != new_value.end();
++it) {
- list_verifier->Append(it->CreateDeepCopy());
+ list_verifier->Append((*it)->CreateDeepCopy());
}
}
}

Powered by Google App Engine
This is Rietveld 408576698