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()); |
} |
} |
} |