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

Unified Diff: chrome/browser/prefs/pref_hash_calculator_unittest.cc

Issue 388963002: Get rid of the rest of CreateStringValue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tweaks 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/prefs/pref_hash_calculator_unittest.cc
diff --git a/chrome/browser/prefs/pref_hash_calculator_unittest.cc b/chrome/browser/prefs/pref_hash_calculator_unittest.cc
index 128c39d8790271c93622c0c5d177e2e6697998f3..87c218e34f4356fb22b7464b4d86b9fe43805212 100644
--- a/chrome/browser/prefs/pref_hash_calculator_unittest.cc
+++ b/chrome/browser/prefs/pref_hash_calculator_unittest.cc
@@ -86,8 +86,8 @@ TEST(PrefHashCalculatorTest, CatchHashChanges) {
base::Value::CreateIntegerValue(1234567890));
scoped_ptr<base::Value> double_value(
base::Value::CreateDoubleValue(123.0987654321));
- scoped_ptr<base::Value> string_value(base::Value::CreateStringValue(
- "testing with special chars:\n<>{}:^^@#$\\/"));
+ scoped_ptr<base::Value> string_value(
+ new base::StringValue("testing with special chars:\n<>{}:^^@#$\\/"));
// For legacy reasons, we have to support pruning of empty lists/dictionaries
// and nested empty ists/dicts in the hash generation algorithm.

Powered by Google App Engine
This is Rietveld 408576698