Index: components/keyed_service/content/browser_context_dependency_manager.cc |
diff --git a/components/keyed_service/content/browser_context_dependency_manager.cc b/components/keyed_service/content/browser_context_dependency_manager.cc |
index 113f1d9ebe90461a0ad953d68d0354f96ecb4775..2e441d99e43e4ff5ead2ed8e15342ccb68ecc490 100644 |
--- a/components/keyed_service/content/browser_context_dependency_manager.cc |
+++ b/components/keyed_service/content/browser_context_dependency_manager.cc |
@@ -52,10 +52,11 @@ void BrowserContextDependencyManager::DestroyBrowserContextServices( |
DependencyManager::DestroyContextServices(context); |
} |
-scoped_ptr<base::CallbackList<void(content::BrowserContext*)>::Subscription> |
+std::unique_ptr< |
+ base::CallbackList<void(content::BrowserContext*)>::Subscription> |
BrowserContextDependencyManager:: |
-RegisterWillCreateBrowserContextServicesCallbackForTesting( |
- const base::Callback<void(content::BrowserContext*)>& callback) { |
+ RegisterWillCreateBrowserContextServicesCallbackForTesting( |
+ const base::Callback<void(content::BrowserContext*)>& callback) { |
return will_create_browser_context_services_callbacks_.Add(callback); |
} |