Index: chrome/browser/policy/generate_policy_source_unittest.cc |
diff --git a/chrome/browser/policy/generate_policy_source_unittest.cc b/chrome/browser/policy/generate_policy_source_unittest.cc |
index 174b486f0fedbc1216045c60bd45ada824bf0bca..c82341036e5aa7302eb58c6a9a6681941d9f6891 100644 |
--- a/chrome/browser/policy/generate_policy_source_unittest.cc |
+++ b/chrome/browser/policy/generate_policy_source_unittest.cc |
@@ -16,11 +16,8 @@ |
namespace policy { |
TEST(GeneratePolicySource, ChromeSchemaData) { |
- scoped_ptr<SchemaOwner> schema_owner = |
- SchemaOwner::Wrap(GetChromeSchemaData()); |
- ASSERT_TRUE(schema_owner); |
- |
- Schema schema = schema_owner->schema(); |
+ Schema schema = Schema::Wrap(GetChromeSchemaData()); |
+ ASSERT_TRUE(schema.valid()); |
EXPECT_EQ(base::Value::TYPE_DICTIONARY, schema.type()); |
Schema subschema = schema.GetAdditionalProperties(); |