summaryrefslogtreecommitdiffstats
path: root/extensions/common/value_builder_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/common/value_builder_unittest.cc')
-rw-r--r--extensions/common/value_builder_unittest.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/extensions/common/value_builder_unittest.cc b/extensions/common/value_builder_unittest.cc
index 7c47451..1f1c14e 100644
--- a/extensions/common/value_builder_unittest.cc
+++ b/extensions/common/value_builder_unittest.cc
@@ -20,9 +20,8 @@ TEST(ValueBuilderTest, Basic) {
scoped_ptr<base::DictionaryValue> settings(new base::DictionaryValue);
ASSERT_FALSE(settings->GetList("permissions", nullptr));
- settings = DictionaryBuilder()
- .Set("permissions", std::move(permission_list))
- .Build();
+ settings =
+ DictionaryBuilder().Set("permissions", permission_list.Build()).Build();
base::ListValue* list_value;
ASSERT_TRUE(settings->GetList("permissions", &list_value));