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

Unified Diff: components/user_prefs/tracked/pref_hash_calculator_unittest.cc

Issue 2666093002: Remove base::FundamentalValue (Closed)
Patch Set: Rebase Created 3 years, 10 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: components/user_prefs/tracked/pref_hash_calculator_unittest.cc
diff --git a/components/user_prefs/tracked/pref_hash_calculator_unittest.cc b/components/user_prefs/tracked/pref_hash_calculator_unittest.cc
index 752c3e19b6fd86bfecc67d27803a1efd77be7d04..11e38f1d76df6a1f411c4d6c89f3e133e698dd88 100644
--- a/components/user_prefs/tracked/pref_hash_calculator_unittest.cc
+++ b/components/user_prefs/tracked/pref_hash_calculator_unittest.cc
@@ -77,11 +77,9 @@ TEST(PrefHashCalculatorTest, CatchHashChanges) {
static const char kDeviceId[] = "test_device_id1";
std::unique_ptr<base::Value> null_value = base::Value::CreateNullValue();
- std::unique_ptr<base::Value> bool_value(new base::FundamentalValue(false));
- std::unique_ptr<base::Value> int_value(
- new base::FundamentalValue(1234567890));
- std::unique_ptr<base::Value> double_value(
- new base::FundamentalValue(123.0987654321));
+ std::unique_ptr<base::Value> bool_value(new base::Value(false));
+ std::unique_ptr<base::Value> int_value(new base::Value(1234567890));
+ std::unique_ptr<base::Value> double_value(new base::Value(123.0987654321));
std::unique_ptr<base::Value> string_value(
new base::StringValue("testing with special chars:\n<>{}:^^@#$\\/"));
« no previous file with comments | « components/user_manager/user_manager_base.cc ('k') | components/user_prefs/tracked/pref_hash_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698