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..18cd017329a68548a4d7d63d83b5ef8cdfb66d59 100644 |
--- a/chrome/browser/ui/views/omnibox/omnibox_views.cc |
+++ b/chrome/browser/ui/views/omnibox/omnibox_views.cc |
@@ -18,7 +18,8 @@ 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)) |
@@ -27,6 +28,6 @@ OmniboxView* CreateOmniboxView(AutocompleteEditController* controller, |
#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; |
} |