Index: apps/shortcut_manager_factory.cc |
diff --git a/apps/shortcut_manager_factory.cc b/apps/shortcut_manager_factory.cc |
index 201c58a0465afc5171f24d15f333329eca6d239d..b76b16dfbab1acb38a256819898d349794a702b9 100644 |
--- a/apps/shortcut_manager_factory.cc |
+++ b/apps/shortcut_manager_factory.cc |
@@ -5,6 +5,7 @@ |
#include "apps/shortcut_manager_factory.h" |
#include "apps/shortcut_manager.h" |
+#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/profiles/profile_dependency_manager.h" |
namespace apps { |
@@ -35,8 +36,8 @@ ShortcutManagerFactory::~ShortcutManagerFactory() { |
} |
ProfileKeyedService* ShortcutManagerFactory::BuildServiceInstanceFor( |
- Profile* profile) const { |
- return new ShortcutManager(profile); |
+ content::BrowserContext* profile) const { |
+ return new ShortcutManager(static_cast<Profile*>(profile)); |
} |
bool ShortcutManagerFactory::ServiceIsCreatedWithProfile() const { |