diff options
Diffstat (limited to 'apps/shortcut_manager_factory.cc')
-rw-r--r-- | apps/shortcut_manager_factory.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/shortcut_manager_factory.cc b/apps/shortcut_manager_factory.cc index 201c58a..b76b16d 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 { |