Remove base::FundamentalValue
As a follow-up to typedeffing base::FundamentalValue to base::Value in
http://crrev.com/2645073002 this change replaces all references to
base::FundamentalValue by base::Value.
[email protected], [email protected]
BUG=646113
Review-Url: https://codereview.chromium.org/2666093002
Cr-Commit-Position: refs/heads/master@{#454235}
diff --git a/components/prefs/json_pref_store_unittest.cc b/components/prefs/json_pref_store_unittest.cc
index 99f12a73..f404d2a 100644
--- a/components/prefs/json_pref_store_unittest.cc
+++ b/components/prefs/json_pref_store_unittest.cc
@@ -241,8 +241,7 @@
EXPECT_TRUE(actual->GetAsBoolean(&boolean));
EXPECT_TRUE(boolean);
- pref_store->SetValue(kNewWindowsInTabs,
- base::MakeUnique<FundamentalValue>(false),
+ pref_store->SetValue(kNewWindowsInTabs, base::MakeUnique<Value>(false),
WriteablePrefStore::DEFAULT_PREF_WRITE_FLAGS);
EXPECT_TRUE(pref_store->GetValue(kNewWindowsInTabs, &actual));
EXPECT_TRUE(actual->GetAsBoolean(&boolean));
@@ -252,7 +251,7 @@
int integer = 0;
EXPECT_TRUE(actual->GetAsInteger(&integer));
EXPECT_EQ(20, integer);
- pref_store->SetValue(kMaxTabs, base::MakeUnique<FundamentalValue>(10),
+ pref_store->SetValue(kMaxTabs, base::MakeUnique<Value>(10),
WriteablePrefStore::DEFAULT_PREF_WRITE_FLAGS);
EXPECT_TRUE(pref_store->GetValue(kMaxTabs, &actual));
EXPECT_TRUE(actual->GetAsInteger(&integer));