summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/blocked_popup_container.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/blocked_popup_container.cc')
-rw-r--r--chrome/browser/views/blocked_popup_container.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/views/blocked_popup_container.cc b/chrome/browser/views/blocked_popup_container.cc
index 8edf71e..bd513cf 100644
--- a/chrome/browser/views/blocked_popup_container.cc
+++ b/chrome/browser/views/blocked_popup_container.cc
@@ -176,7 +176,8 @@ gfx::Size BlockedPopupContainerView::GetPreferredSize() {
void BlockedPopupContainerView::ButtonPressed(views::BaseButton* sender) {
if (sender == popup_count_label_) {
- launch_menu_.reset(new Menu(this, Menu::TOPLEFT, container_->GetHWND()));
+ launch_menu_.reset(new Menu(this, Menu::TOPLEFT,
+ container_->GetNativeView()));
int item_count = container_->GetTabContentsCount();
for (int i = 0; i < item_count; ++i) {