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

Unified Diff: chrome/browser/autocomplete/history_contents_provider_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/autocomplete/history_contents_provider_unittest.cc
diff --git a/chrome/browser/autocomplete/history_contents_provider_unittest.cc b/chrome/browser/autocomplete/history_contents_provider_unittest.cc
index 22a38ca2645b5fcd1e333b2600c63ae7eadba61d..69075585534953a441b87d4249ab836cc65e96af 100644
--- a/chrome/browser/autocomplete/history_contents_provider_unittest.cc
+++ b/chrome/browser/autocomplete/history_contents_provider_unittest.cc
@@ -68,8 +68,9 @@ class HistoryContentsProviderTest : public testing::Test,
virtual bool BodyOnly() { return false; }
private:
- static ProfileKeyedService* CreateTemplateURLService(Profile* profile) {
- return new TemplateURLService(profile);
+ static ProfileKeyedService* CreateTemplateURLService(
+ content::BrowserContext* profile) {
+ return new TemplateURLService(static_cast<Profile*>(profile));
}
// testing::Test

Powered by Google App Engine
This is Rietveld 408576698