| Index: chrome/browser/ui/views/omnibox/omnibox_views.cc
|
| diff --git a/chrome/browser/ui/views/omnibox/omnibox_views.cc b/chrome/browser/ui/views/omnibox/omnibox_views.cc
|
| index ec65f0f4f25e39775f933de18df902a057178097..6c6364042f0cfffcbd89c4b4f8daf1143d6e7128 100644
|
| --- a/chrome/browser/ui/views/omnibox/omnibox_views.cc
|
| +++ b/chrome/browser/ui/views/omnibox/omnibox_views.cc
|
| @@ -18,15 +18,17 @@ OmniboxView* CreateOmniboxView(AutocompleteEditController* controller,
|
| Profile* profile,
|
| CommandUpdater* command_updater,
|
| bool popup_window_mode,
|
| - LocationBarView* location_bar) {
|
| + LocationBarView* location_bar,
|
| + views::View* popup_parent_view) {
|
| #if defined(OS_WIN) && !defined(USE_AURA)
|
| CommandLine* command_line = CommandLine::ForCurrentProcess();
|
| if (!command_line->HasSwitch(switches::kEnableViewsTextfield))
|
| return new OmniboxViewWin(controller, toolbar_model, location_bar,
|
| - command_updater, popup_window_mode, location_bar);
|
| + command_updater, popup_window_mode, location_bar,
|
| + popup_parent_view);
|
| #endif
|
| OmniboxViewViews* omnibox = new OmniboxViewViews(controller, toolbar_model,
|
| profile, command_updater, popup_window_mode, location_bar);
|
| - omnibox->Init();
|
| + omnibox->Init(popup_parent_view);
|
| return omnibox;
|
| }
|
|
|