summaryrefslogtreecommitdiffstats
path: root/tools/json_schema_compiler/test/simple_api_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/json_schema_compiler/test/simple_api_unittest.cc')
-rw-r--r--tools/json_schema_compiler/test/simple_api_unittest.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/json_schema_compiler/test/simple_api_unittest.cc b/tools/json_schema_compiler/test/simple_api_unittest.cc
index 6802feb..0cf3fb8 100644
--- a/tools/json_schema_compiler/test/simple_api_unittest.cc
+++ b/tools/json_schema_compiler/test/simple_api_unittest.cc
@@ -17,8 +17,7 @@ static scoped_ptr<base::DictionaryValue> CreateTestTypeDictionary() {
value->SetWithoutPathExpansion("integer", new base::FundamentalValue(4));
value->SetWithoutPathExpansion("string",
base::Value::CreateStringValue("bling"));
- value->SetWithoutPathExpansion("boolean",
- base::Value::CreateBooleanValue(true));
+ value->SetWithoutPathExpansion("boolean", new base::FundamentalValue(true));
return value.Pass();
}