Index: chrome/browser/search_engines/template_url_service_test_util.cc |
diff --git a/chrome/browser/search_engines/template_url_service_test_util.cc b/chrome/browser/search_engines/template_url_service_test_util.cc |
index 10009c69767a0ab92a8bb755382c98fd8d48acc9..e464e43aa0a0f627abf31ec2ddf822dbe8773d71 100644 |
--- a/chrome/browser/search_engines/template_url_service_test_util.cc |
+++ b/chrome/browser/search_engines/template_url_service_test_util.cc |
@@ -56,8 +56,8 @@ static void WaitForThreadToProcessRequests(BrowserThread::ID identifier) { |
// SetKeywordSearchTermsForURL. |
class TestingTemplateURLService : public TemplateURLService { |
public: |
- static ProfileKeyedService* Build(Profile* profile) { |
- return new TestingTemplateURLService(profile); |
+ static ProfileKeyedService* Build(content::BrowserContext* profile) { |
+ return new TestingTemplateURLService(static_cast<Profile*>(profile)); |
} |
explicit TestingTemplateURLService(Profile* profile) |