Index: chrome/browser/policy/cloud/component_cloud_policy_service_unittest.cc |
diff --git a/chrome/browser/policy/cloud/component_cloud_policy_service_unittest.cc b/chrome/browser/policy/cloud/component_cloud_policy_service_unittest.cc |
index b4fa459e80329f4234cb622f11f6780246d96492..9c6ae5463386e4b064ab411dad24ebf2679ba494 100644 |
--- a/chrome/browser/policy/cloud/component_cloud_policy_service_unittest.cc |
+++ b/chrome/browser/policy/cloud/component_cloud_policy_service_unittest.cc |
@@ -188,11 +188,11 @@ class ComponentCloudPolicyServiceTest : public testing::Test { |
return builder_.GetBlob(); |
} |
- scoped_ptr<SchemaOwner> CreateTestSchema() { |
+ Schema CreateTestSchema() { |
std::string error; |
- scoped_ptr<SchemaOwner> schema = SchemaOwner::Parse(kTestSchema, &error); |
- EXPECT_TRUE(schema) << error; |
- return schema.Pass(); |
+ Schema schema = Schema::Parse(kTestSchema, &error); |
+ EXPECT_TRUE(schema.valid()) << error; |
+ return schema; |
} |
base::MessageLoop loop_; |