Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Unified Diff: tools/json_schema_compiler/test/any_unittest.cc

Issue 397793002: Eliminate CreateBooleanValue from test files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad merge Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/json_schema_compiler/test/any_unittest.cc
diff --git a/tools/json_schema_compiler/test/any_unittest.cc b/tools/json_schema_compiler/test/any_unittest.cc
index 7e3215f08f3f3b4c686096bfd067c76dc701feb9..039bd154bd52ae7a74020a4338601e1b6fb67f7f 100644
--- a/tools/json_schema_compiler/test/any_unittest.cc
+++ b/tools/json_schema_compiler/test/any_unittest.cc
@@ -48,7 +48,7 @@ TEST(JsonSchemaCompilerAnyTest, OptionalAnyParamsCreate) {
}
{
scoped_ptr<base::ListValue> params_value(new base::ListValue());
- scoped_ptr<base::Value> param(base::Value::CreateBooleanValue(true));
+ scoped_ptr<base::Value> param(new base::FundamentalValue(true));
params_value->Append(param->DeepCopy());
scoped_ptr<OptionalAny::Params> params(
OptionalAny::Params::Create(*params_value));

Powered by Google App Engine
This is Rietveld 408576698