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

Unified Diff: chrome/browser/sessions/persistent_tab_restore_service.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/sessions/persistent_tab_restore_service.cc
diff --git a/chrome/browser/sessions/persistent_tab_restore_service.cc b/chrome/browser/sessions/persistent_tab_restore_service.cc
index 9e7e801198d255db7740d030f4f3773f803236bf..747608655de6eb37cb1330a15b13beebf1ea9384 100644
--- a/chrome/browser/sessions/persistent_tab_restore_service.cc
+++ b/chrome/browser/sessions/persistent_tab_restore_service.cc
@@ -975,6 +975,6 @@ void PersistentTabRestoreService::PruneEntries() {
}
ProfileKeyedService* TabRestoreServiceFactory::BuildServiceInstanceFor(
- Profile* profile) const {
- return new PersistentTabRestoreService(profile, NULL);
+ content::BrowserContext* profile) const {
+ return new PersistentTabRestoreService(static_cast<Profile*>(profile), NULL);
}

Powered by Google App Engine
This is Rietveld 408576698