| 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 df53fdde084e7359652f4a63ff81cfe4a3d8a3fe..a4b4d9395e078709b7edc25dd64dd773e02a8395 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,10 @@
|
| return new TemplateURLService(static_cast<Profile*>(profile), NULL);
|
| }
|
|
|
| -KeyedService* CreateAutocompleteClassifier(content::BrowserContext* context) {
|
| - Profile* profile = static_cast<Profile*>(context);
|
| +KeyedService* CreateAutocompleteClassifier(content::BrowserContext* profile) {
|
| return new AutocompleteClassifier(
|
| make_scoped_ptr(new AutocompleteController(
|
| - profile, TemplateURLServiceFactory::GetForProfile(profile), NULL,
|
| + static_cast<Profile*>(profile), NULL,
|
| AutocompleteClassifier::kDefaultOmniboxProviders)),
|
| scoped_ptr<AutocompleteSchemeClassifier>(new TestSchemeClassifier()));
|
| }
|
|
|