Index: chrome/browser/ui/views/omnibox/omnibox_view_win.cc |
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_win.cc b/chrome/browser/ui/views/omnibox/omnibox_view_win.cc |
index a317a82a0c0cb503bc05642016a30480d2e766e5..f1e73bf8940769ff2b0f1c3612302897afecc01d 100644 |
--- a/chrome/browser/ui/views/omnibox/omnibox_view_win.cc |
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_win.cc |
@@ -438,11 +438,13 @@ OmniboxViewWin::OmniboxViewWin(AutocompleteEditController* controller, |
LocationBarView* parent_view, |
CommandUpdater* command_updater, |
bool popup_window_mode, |
- views::View* location_bar) |
+ views::View* location_bar, |
+ views::View* popup_parent_view) |
: model_(new AutocompleteEditModel(this, controller, |
parent_view->profile())), |
- popup_view_(OmniboxPopupContentsView::CreateForEnvironment( |
- parent_view->font(), this, model_.get(), location_bar)), |
+ popup_view_(OmniboxPopupContentsView::Create( |
+ parent_view->font(), this, model_.get(), location_bar, |
+ popup_parent_view)), |
controller_(controller), |
parent_view_(parent_view), |
toolbar_model_(toolbar_model), |