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 f32031bd0c3e19ca6be4a10c6a5296915863f79d..f100b81618a0fe54c150dc749f40cc3e5e436a99 100644 |
--- a/tools/json_schema_compiler/test/simple_api_unittest.cc |
+++ b/tools/json_schema_compiler/test/simple_api_unittest.cc |
@@ -12,8 +12,7 @@ namespace { |
static scoped_ptr<base::DictionaryValue> CreateTestTypeDictionary() { |
scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue()); |
- value->SetWithoutPathExpansion("number", |
- base::Value::CreateDoubleValue(1.1)); |
+ value->SetWithoutPathExpansion("number", new base::FundamentalValue(1.1)); |
value->SetWithoutPathExpansion("integer", new base::FundamentalValue(4)); |
value->SetWithoutPathExpansion("string", new base::StringValue("bling")); |
value->SetWithoutPathExpansion("boolean", new base::FundamentalValue(true)); |