| Index: extensions/common/value_builder.cc
|
| diff --git a/extensions/common/value_builder.cc b/extensions/common/value_builder.cc
|
| index a288875e3d3751672ba5aef3181caed2fbfbecd4..08bb7de1e1e85f816cd6696af1cf95795d3ce4e2 100644
|
| --- a/extensions/common/value_builder.cc
|
| +++ b/extensions/common/value_builder.cc
|
| @@ -30,15 +30,13 @@ std::string DictionaryBuilder::ToJSON() const {
|
|
|
| DictionaryBuilder& DictionaryBuilder::Set(const std::string& path,
|
| int in_value) {
|
| - dict_->SetWithoutPathExpansion(
|
| - path, base::MakeUnique<base::FundamentalValue>(in_value));
|
| + dict_->SetWithoutPathExpansion(path, base::MakeUnique<base::Value>(in_value));
|
| return *this;
|
| }
|
|
|
| DictionaryBuilder& DictionaryBuilder::Set(const std::string& path,
|
| double in_value) {
|
| - dict_->SetWithoutPathExpansion(
|
| - path, base::MakeUnique<base::FundamentalValue>(in_value));
|
| + dict_->SetWithoutPathExpansion(path, base::MakeUnique<base::Value>(in_value));
|
| return *this;
|
| }
|
|
|
| @@ -65,8 +63,7 @@ DictionaryBuilder& DictionaryBuilder::Set(
|
|
|
| DictionaryBuilder& DictionaryBuilder::SetBoolean(
|
| const std::string& path, bool in_value) {
|
| - dict_->SetWithoutPathExpansion(
|
| - path, base::MakeUnique<base::FundamentalValue>(in_value));
|
| + dict_->SetWithoutPathExpansion(path, base::MakeUnique<base::Value>(in_value));
|
| return *this;
|
| }
|
|
|
|
|