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

Unified Diff: chrome/browser/ui/tabs/pinned_tab_service_unittest.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_unittest.cc
diff --git a/chrome/browser/ui/tabs/pinned_tab_service_unittest.cc b/chrome/browser/ui/tabs/pinned_tab_service_unittest.cc
index d6f760eb68f67489dd6d914a7a574ad13a8c8112..939752637d169dbac39a3b9090b10b3e91cecfae 100644
--- a/chrome/browser/ui/tabs/pinned_tab_service_unittest.cc
+++ b/chrome/browser/ui/tabs/pinned_tab_service_unittest.cc
@@ -18,8 +18,8 @@
namespace {
-ProfileKeyedService* BuildPinnedTabService(Profile* profile) {
- return new PinnedTabService(profile);
+ProfileKeyedService* BuildPinnedTabService(content::BrowserContext* profile) {
+ return new PinnedTabService(static_cast<Profile*>(profile));
}
PinnedTabService* BuildForProfile(Profile* profile) {
« no previous file with comments | « chrome/browser/ui/tabs/pinned_tab_service_factory.cc ('k') | chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698