Index: chrome/browser/ui/sync/one_click_signin_helper_unittest.cc |
diff --git a/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc b/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc |
index 9cd644942bf7c7fe784c8fb33058acc08a087a16..f5a527373f1fe6f62bbb1fe21558cebcc557bf98 100644 |
--- a/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc |
+++ b/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc |
@@ -155,8 +155,8 @@ class OneClickTestProfileSyncService : public TestProfileSyncService { |
// Helper routine to be used in conjunction with |
// ProfileKeyedServiceFactory::SetTestingFactory(). |
- static ProfileKeyedService* Build(Profile* profile) { |
- return new OneClickTestProfileSyncService(profile); |
+ static ProfileKeyedService* Build(content::BrowserContext* profile) { |
+ return new OneClickTestProfileSyncService(static_cast<Profile*>(profile)); |
} |
// Need to control this for certain tests. |
@@ -188,8 +188,9 @@ class OneClickTestProfileSyncService : public TestProfileSyncService { |
bool first_setup_in_progress_; |
}; |
-static ProfileKeyedService* BuildSigninManagerMock(Profile* profile) { |
- return new SigninManagerMock(profile); |
+static ProfileKeyedService* BuildSigninManagerMock( |
+ content::BrowserContext* profile) { |
+ return new SigninManagerMock(static_cast<Profile*>(profile)); |
} |
} // namespace |