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

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

Issue 2014103002: Remove deprecated ListValue::Append(Value*) overload on Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ADL fail Created 4 years, 3 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
« no previous file with comments | « chrome/browser/signin/signin_manager_unittest.cc ('k') | chrome/common/custom_handlers/protocol_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f9f7778a12819743c9e3a40660769db55796b4d2..a1f362d07ddd34549d8dafda68801833576aae83 100644
--- a/chrome/browser/sync/test/integration/preferences_helper.cc
+++ b/chrome/browser/sync/test/integration/preferences_helper.cc
@@ -76,7 +76,7 @@ void ChangeListPref(int index,
for (base::ListValue::const_iterator it = new_value.begin();
it != new_value.end();
++it) {
- list->Append((*it)->DeepCopy());
+ list->Append((*it)->CreateDeepCopy());
}
}
@@ -86,7 +86,7 @@ void ChangeListPref(int index,
for (base::ListValue::const_iterator it = new_value.begin();
it != new_value.end();
++it) {
- list_verifier->Append((*it)->DeepCopy());
+ list_verifier->Append((*it)->CreateDeepCopy());
}
}
}
« no previous file with comments | « chrome/browser/signin/signin_manager_unittest.cc ('k') | chrome/common/custom_handlers/protocol_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698