| Index: chrome/browser/ui/views/frame/browser_view.cc
|
| diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
|
| index 042f8ecd7b396a1d42cf33e7fb272ead27fe7442..395135a60cdbd8f3c81b454746513c7d22fe6de4 100644
|
| --- a/chrome/browser/ui/views/frame/browser_view.cc
|
| +++ b/chrome/browser/ui/views/frame/browser_view.cc
|
| @@ -1933,8 +1933,9 @@ void BrowserView::Init() {
|
| views::View* omnibox_popup_view_parent = NULL;
|
| // SearchViewController doesn't work on windows yet.
|
| #if defined(USE_AURA)
|
| - if (chrome::search::IsInstantExtendedAPIEnabled(browser_->profile())) {
|
| - search_view_controller_.reset(new SearchViewController(contents_));
|
| + Profile* profile = browser_->profile();
|
| + if (chrome::search::IsInstantExtendedAPIEnabled(profile)) {
|
| + search_view_controller_.reset(new SearchViewController(profile, contents_));
|
| omnibox_popup_view_parent =
|
| search_view_controller_->omnibox_popup_view_parent();
|
| }
|
|
|