Chromium Code Reviews| Index: components/policy/core/common/schema_unittest.cc |
| diff --git a/components/policy/core/common/schema_unittest.cc b/components/policy/core/common/schema_unittest.cc |
| index c0c3193eadde8380cd411e13346fa6a6ee1b1e85..3a8c4819e85063bcd4a904eb7b5c48ea691d29a6 100644 |
| --- a/components/policy/core/common/schema_unittest.cc |
| +++ b/components/policy/core/common/schema_unittest.cc |
| @@ -128,7 +128,7 @@ void TestSchemaValidation(Schema schema, |
| // Schema::Validate(). |
| error = kNoErrorReturned; |
| scoped_ptr<base::Value> cloned_value(value.DeepCopy()); |
| - returned = schema.Normalize(cloned_value.get(), strategy, NULL, &error); |
| + returned = schema.Normalize(cloned_value.get(), strategy, NULL, &error, NULL); |
|
Joao da Silva
2014/02/20 12:46:41
Add tests that verify the |changed| argument
binjin
2014/02/20 15:48:34
Done.
|
| EXPECT_EQ(returned, expected_return_value) << error; |
| // Test that Schema::Normalize() have actually dropped invalid and unknown |
| @@ -136,8 +136,8 @@ void TestSchemaValidation(Schema schema, |
| if (expected_return_value) { |
| EXPECT_TRUE( |
| schema.Validate(*cloned_value.get(), SCHEMA_STRICT, NULL, &error)); |
| - EXPECT_TRUE( |
| - schema.Normalize(cloned_value.get(), SCHEMA_STRICT, NULL, &error)); |
| + EXPECT_TRUE(schema.Normalize( |
| + cloned_value.get(), SCHEMA_STRICT, NULL, &error, NULL)); |
| } |
| } |