Index: chrome/browser/extensions/api/storage/settings_apitest.cc |
diff --git a/chrome/browser/extensions/api/storage/settings_apitest.cc b/chrome/browser/extensions/api/storage/settings_apitest.cc |
index 7efa0c1b4e6b62d1dcddf10c5692c0b7e7c315f4..98a36fc4a285fa7e3c222a580ec6cab947951ca9 100644 |
--- a/chrome/browser/extensions/api/storage/settings_apitest.cc |
+++ b/chrome/browser/extensions/api/storage/settings_apitest.cc |
@@ -432,7 +432,7 @@ IN_PROC_BROWSER_TEST_F(ExtensionSettingsApiTest, ExtensionsSchemas) { |
message_.clear(); |
policy::SchemaRegistry* registry = |
- policy::SchemaRegistryServiceFactory::GetForContext(profile); |
+ policy::SchemaRegistryServiceFactory::GetForContext(profile)->registry(); |
ASSERT_TRUE(registry); |
EXPECT_FALSE(registry->schema_map()->GetSchema(policy::PolicyNamespace( |
policy::POLICY_DOMAIN_EXTENSIONS, kManagedStorageExtensionId))); |