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

Unified Diff: chrome/browser/ui/bookmarks/bookmark_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/bookmarks/bookmark_unittest.cc
diff --git a/chrome/browser/ui/bookmarks/bookmark_unittest.cc b/chrome/browser/ui/bookmarks/bookmark_unittest.cc
index da34d0097b942e5f0363696de2c003268d3287c5..bc285a5dcf4ac7a01a5af73de3b7bd5463a6e2d3 100644
--- a/chrome/browser/ui/bookmarks/bookmark_unittest.cc
+++ b/chrome/browser/ui/bookmarks/bookmark_unittest.cc
@@ -56,8 +56,9 @@ class BookmarkInstantExtendedTest : public BrowserWithTestWindowTest {
}
private:
- static ProfileKeyedService* CreateTemplateURLService(Profile* profile) {
- return new TemplateURLService(profile);
+ static ProfileKeyedService* CreateTemplateURLService(
+ content::BrowserContext* profile) {
+ return new TemplateURLService(static_cast<Profile*>(profile));
}
DISALLOW_COPY_AND_ASSIGN(BookmarkInstantExtendedTest);
« no previous file with comments | « chrome/browser/ui/ash/app_sync_ui_state_factory.cc ('k') | chrome/browser/ui/find_bar/find_bar_state_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698