Index: chrome/browser/sync/sync_error_notifier_ash_unittest.cc |
diff --git a/chrome/browser/sync/sync_error_notifier_ash_unittest.cc b/chrome/browser/sync/sync_error_notifier_ash_unittest.cc |
index 6f213a55a3f291dd8c2d93941c47fa6036d1d79e..51b20e38fcd0a40ff6d27738ae3379536f998c39 100644 |
--- a/chrome/browser/sync/sync_error_notifier_ash_unittest.cc |
+++ b/chrome/browser/sync/sync_error_notifier_ash_unittest.cc |
@@ -82,9 +82,9 @@ class FakeLoginUI : public LoginUIService::LoginUI { |
int focus_ui_call_count_; |
}; |
-KeyedService* BuildMockLoginUIService( |
+scoped_ptr<KeyedService> BuildMockLoginUIService( |
content::BrowserContext* profile) { |
- return new FakeLoginUIService(); |
+ return make_scoped_ptr(new FakeLoginUIService()); |
} |
class SyncErrorNotifierTest : public AshTestBase { |