Index: chrome/browser/extensions/api/idle/idle_api_unittest.cc |
diff --git a/chrome/browser/extensions/api/idle/idle_api_unittest.cc b/chrome/browser/extensions/api/idle/idle_api_unittest.cc |
index 94d2c8d7baa7927489135404a3ef78108dd26471..22f0fb1549fe261cb4ba9c766b1f67c7ffab5bd1 100644 |
--- a/chrome/browser/extensions/api/idle/idle_api_unittest.cc |
+++ b/chrome/browser/extensions/api/idle/idle_api_unittest.cc |
@@ -118,8 +118,8 @@ ScopedListen::~ScopedListen() { |
idle_manager_->OnListenerRemoved(details); |
} |
-ProfileKeyedService* IdleManagerTestFactory(Profile* profile) { |
- return new IdleManager(profile); |
+ProfileKeyedService* IdleManagerTestFactory(content::BrowserContext* profile) { |
+ return new IdleManager(static_cast<Profile*>(profile)); |
} |
} // namespace |