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

Unified Diff: chrome/browser/policy/browser_policy_connector.cc

Issue 47513018: Make the internal storage of policy::Schemas ref counted. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@chrome-policy-schema-4-new-generate
Patch Set: rebase Created 7 years, 1 month 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: chrome/browser/policy/browser_policy_connector.cc
diff --git a/chrome/browser/policy/browser_policy_connector.cc b/chrome/browser/policy/browser_policy_connector.cc
index 4a3e5e5ab425f0f8c4de4bec234a5b673aa481c3..de0eb894e6dc4e46222229ef15f8563a0990658f 100644
--- a/chrome/browser/policy/browser_policy_connector.cc
+++ b/chrome/browser/policy/browser_policy_connector.cc
@@ -425,7 +425,7 @@ scoped_ptr<PolicyService> BrowserPolicyConnector::CreatePolicyService(
scoped_ptr<PolicyService> service(new PolicyServiceImpl(providers));
scoped_refptr<PolicyDomainDescriptor> descriptor = new PolicyDomainDescriptor(
POLICY_DOMAIN_CHROME);
- descriptor->RegisterComponent("", SchemaOwner::Wrap(GetChromeSchemaData()));
+ descriptor->RegisterComponent("", Schema::Wrap(GetChromeSchemaData()));
service->RegisterPolicyDomain(descriptor);
return service.Pass();
}

Powered by Google App Engine
This is Rietveld 408576698