| Index: chrome/browser/ui/views/frame/test_with_browser_view.cc
|
| diff --git a/chrome/browser/ui/views/frame/test_with_browser_view.cc b/chrome/browser/ui/views/frame/test_with_browser_view.cc
|
| index a4b4d9395e078709b7edc25dd64dd773e02a8395..7969e9816570125f2246a4b195c481ffde575def 100644
|
| --- a/chrome/browser/ui/views/frame/test_with_browser_view.cc
|
| +++ b/chrome/browser/ui/views/frame/test_with_browser_view.cc
|
| @@ -31,11 +31,12 @@ KeyedService* CreateTemplateURLService(content::BrowserContext* profile) {
|
| return new TemplateURLService(static_cast<Profile*>(profile), NULL);
|
| }
|
|
|
| -KeyedService* CreateAutocompleteClassifier(content::BrowserContext* profile) {
|
| +KeyedService* CreateAutocompleteClassifier(content::BrowserContext* context) {
|
| + Profile* profile = static_cast<Profile*>(context);
|
| return new AutocompleteClassifier(
|
| make_scoped_ptr(new AutocompleteController(
|
| - static_cast<Profile*>(profile), NULL,
|
| - AutocompleteClassifier::kDefaultOmniboxProviders)),
|
| + profile, NULL, AutocompleteClassifier::kDefaultOmniboxProviders,
|
| + TemplateURLServiceFactory::GetForProfile(profile))),
|
| scoped_ptr<AutocompleteSchemeClassifier>(new TestSchemeClassifier()));
|
| }
|
|
|
|
|