Index: chrome/browser/ui/tabs/pinned_tab_service_factory.cc |
diff --git a/chrome/browser/ui/tabs/pinned_tab_service_factory.cc b/chrome/browser/ui/tabs/pinned_tab_service_factory.cc |
index 40a7eebea4bbe8e42715328ca05ce67c57b54d62..1d866127d332961495700d15e56dec484b8559d5 100644 |
--- a/chrome/browser/ui/tabs/pinned_tab_service_factory.cc |
+++ b/chrome/browser/ui/tabs/pinned_tab_service_factory.cc |
@@ -28,8 +28,8 @@ PinnedTabServiceFactory::~PinnedTabServiceFactory() { |
} |
ProfileKeyedService* PinnedTabServiceFactory::BuildServiceInstanceFor( |
- Profile* profile) const { |
- return new PinnedTabService(profile); |
+ content::BrowserContext* profile) const { |
+ return new PinnedTabService(static_cast<Profile*>(profile)); |
} |
bool PinnedTabServiceFactory::ServiceIsCreatedWithProfile() const { |