| Index: chrome/browser/chromeos/policy/policy_cert_service_factory.cc
|
| diff --git a/chrome/browser/chromeos/policy/policy_cert_service_factory.cc b/chrome/browser/chromeos/policy/policy_cert_service_factory.cc
|
| index 5470fdac1b746bcb01ee127d1ec0e59682c2af2f..4e1f3ad4be546e1e672ed2c9cf285cb5edf529dc 100644
|
| --- a/chrome/browser/chromeos/policy/policy_cert_service_factory.cc
|
| +++ b/chrome/browser/chromeos/policy/policy_cert_service_factory.cc
|
| @@ -30,13 +30,13 @@ PolicyCertService* PolicyCertServiceFactory::GetForProfile(Profile* profile) {
|
| }
|
|
|
| // static
|
| -scoped_ptr<PolicyCertVerifier> PolicyCertServiceFactory::CreateForProfile(
|
| +std::unique_ptr<PolicyCertVerifier> PolicyCertServiceFactory::CreateForProfile(
|
| Profile* profile) {
|
| DCHECK(!GetInstance()->GetServiceForBrowserContext(profile, false));
|
| PolicyCertService* service = static_cast<PolicyCertService*>(
|
| GetInstance()->GetServiceForBrowserContext(profile, true));
|
| if (!service)
|
| - return scoped_ptr<PolicyCertVerifier>();
|
| + return std::unique_ptr<PolicyCertVerifier>();
|
| return service->CreatePolicyCertVerifier();
|
| }
|
|
|
|
|