diff options
Diffstat (limited to 'chrome/browser/extensions/extension_popup_api.cc')
-rw-r--r-- | chrome/browser/extensions/extension_popup_api.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_popup_api.cc b/chrome/browser/extensions/extension_popup_api.cc index 091fa71..f68553c 100644 --- a/chrome/browser/extensions/extension_popup_api.cc +++ b/chrome/browser/extensions/extension_popup_api.cc @@ -139,8 +139,12 @@ bool PopupShowFunction::RunImpl() { BubbleBorder::ArrowLocation arrow_location = (NULL != dispatcher()->GetExtensionHost()) ? BubbleBorder::BOTTOM_LEFT : BubbleBorder::TOP_LEFT; - popup_ = ExtensionPopup::Show(url, dispatcher()->GetBrowser(), rect, - arrow_location, give_focus); + popup_ = ExtensionPopup::Show(url, dispatcher()->GetBrowser(), + dispatcher()->profile(), + dispatcher()->GetFrameNativeWindow(), + rect, + arrow_location, + give_focus); ExtensionPopupHost* popup_host = dispatcher()->GetPopupHost(); DCHECK(popup_host); |