Index: chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc |
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc b/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc |
index a76fe8473550bc1e3f51407088c62867000de478..40d3272f69bcd2cf447c0ec443d8ddcb4339d173 100644 |
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc |
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc |
@@ -50,8 +50,9 @@ class BookmarkBarViewInstantExtendedTest : 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(BookmarkBarViewInstantExtendedTest); |