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

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

Issue 388963002: Get rid of the rest of CreateStringValue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad rebase Created 6 years, 5 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/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));

Powered by Google App Engine
This is Rietveld 408576698