Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8441)

Unified Diff: chrome/browser/ui/tabs/pinned_tab_service_factory.cc

Issue 14141006: [components] Switch {RefCounted}ProfileKeyedService to use BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots 2 Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 {
« no previous file with comments | « chrome/browser/ui/tabs/pinned_tab_service_factory.h ('k') | chrome/browser/ui/tabs/pinned_tab_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698