| 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..df53fdde084e7359652f4a63ff81cfe4a3d8a3fe 100644
|
| --- a/chrome/browser/ui/views/frame/test_with_browser_view.cc
|
| +++ b/chrome/browser/ui/views/frame/test_with_browser_view.cc
|
| @@ -31,10 +31,11 @@ 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,
|
| + profile, TemplateURLServiceFactory::GetForProfile(profile), NULL,
|
| AutocompleteClassifier::kDefaultOmniboxProviders)),
|
| scoped_ptr<AutocompleteSchemeClassifier>(new TestSchemeClassifier()));
|
| }
|
|
|