Index: tools/json_schema_compiler/test/simple_api_unittest.cc |
diff --git a/tools/json_schema_compiler/test/simple_api_unittest.cc b/tools/json_schema_compiler/test/simple_api_unittest.cc |
index 54c773f2174c51f8a780ec1e4668796d49f86c72..70e928f63e119386fecf2180a344c1734ad4dbaa 100644 |
--- a/tools/json_schema_compiler/test/simple_api_unittest.cc |
+++ b/tools/json_schema_compiler/test/simple_api_unittest.cc |
@@ -13,10 +13,10 @@ namespace { |
static std::unique_ptr<base::DictionaryValue> CreateTestTypeDictionary() { |
std::unique_ptr<base::DictionaryValue> value(new base::DictionaryValue()); |
- value->SetWithoutPathExpansion("number", new base::Value(1.1)); |
- value->SetWithoutPathExpansion("integer", new base::Value(4)); |
- value->SetWithoutPathExpansion("string", new base::Value("bling")); |
- value->SetWithoutPathExpansion("boolean", new base::Value(true)); |
+ value->SetDoubleWithoutPathExpansion("number", 1.1); |
+ value->SetIntegerWithoutPathExpansion("integer", 4); |
+ value->SetStringWithoutPathExpansion("string", "bling"); |
+ value->SetBooleanWithoutPathExpansion("boolean", true); |
return value; |
} |