Index: chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc |
diff --git a/chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc b/chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc |
index e544e8a183a1162cad2d5825d07310af0f66aaeb..85a22fac196eff1d59b0dc65f3b08122bb00c0f7 100644 |
--- a/chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc |
+++ b/chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc |
@@ -88,8 +88,8 @@ IN_PROC_BROWSER_TEST_F(TwoClientPreferencesSyncTest, ComplexPrefs) { |
ASSERT_TRUE(AwaitIntegerPrefMatches(prefs::kRestoreOnStartup)); |
base::ListValue urls; |
- urls.Append(base::Value::CreateStringValue("http://www.google.com/")); |
- urls.Append(base::Value::CreateStringValue("http://www.flickr.com/")); |
+ urls.Append(new base::StringValue("http://www.google.com/")); |
+ urls.Append(new base::StringValue("http://www.flickr.com/")); |
ChangeIntegerPref(0, prefs::kRestoreOnStartup, 4); |
ChangeListPref(0, prefs::kURLsToRestoreOnStartup, urls); |
ASSERT_TRUE(AwaitIntegerPrefMatches(prefs::kRestoreOnStartup)); |