summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/autocomplete_popup_view_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_popup_view_win.cc')
-rwxr-xr-xchrome/browser/autocomplete/autocomplete_popup_view_win.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_popup_view_win.cc b/chrome/browser/autocomplete/autocomplete_popup_view_win.cc
index 578edbb..4ae5dd1 100755
--- a/chrome/browser/autocomplete/autocomplete_popup_view_win.cc
+++ b/chrome/browser/autocomplete/autocomplete_popup_view_win.cc
@@ -683,8 +683,11 @@ AutocompletePopupView* AutocompletePopupView::CreatePopupView(
const ChromeFont& font,
AutocompleteEditViewWin* edit_view,
AutocompleteEditModel* edit_model,
- Profile* profile) {
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableOmnibox2))
- return new AutocompletePopupWin(font, edit_view, edit_model, profile);
+ Profile* profile,
+ AutocompletePopupPositioner* popup_positioner) {
+ if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableOmnibox2)) {
+ return new AutocompletePopupWin(font, edit_view, edit_model, profile,
+ popup_positioner);
+ }
return new AutocompletePopupViewWin(font, edit_view, edit_model, profile);
}