| Index: chrome/browser/signin/easy_unlock_app_manager_unittest.cc
|
| diff --git a/chrome/browser/signin/easy_unlock_app_manager_unittest.cc b/chrome/browser/signin/easy_unlock_app_manager_unittest.cc
|
| index bab12ed577f3e49c19497b3a49f79d6dca1aed8f..89bf24b0ed95ba4ca34c0052185c9d8e18950372 100644
|
| --- a/chrome/browser/signin/easy_unlock_app_manager_unittest.cc
|
| +++ b/chrome/browser/signin/easy_unlock_app_manager_unittest.cc
|
| @@ -69,8 +69,9 @@ class TestProcessManager : public extensions::ProcessManager {
|
| DISALLOW_COPY_AND_ASSIGN(TestProcessManager);
|
| };
|
|
|
| -KeyedService* CreateTestProcessManager(content::BrowserContext* context) {
|
| - return new TestProcessManager(context);
|
| +scoped_ptr<KeyedService> CreateTestProcessManager(
|
| + content::BrowserContext* context) {
|
| + return make_scoped_ptr(new TestProcessManager(context));
|
| }
|
|
|
| // Observes extension registry for unload and load events (in that order) of an
|
| @@ -262,9 +263,11 @@ class TestEventRouter : public extensions::EventRouter {
|
| };
|
|
|
| // TestEventRouter factory function
|
| -KeyedService* TestEventRouterFactoryFunction(content::BrowserContext* context) {
|
| - return new TestEventRouter(static_cast<Profile*>(context),
|
| - extensions::ExtensionPrefs::Get(context));
|
| +scoped_ptr<KeyedService> TestEventRouterFactoryFunction(
|
| + content::BrowserContext* context) {
|
| + return make_scoped_ptr(
|
| + new TestEventRouter(static_cast<Profile*>(context),
|
| + extensions::ExtensionPrefs::Get(context)));
|
| }
|
|
|
| class EasyUnlockAppManagerTest : public testing::Test {
|
|
|