| Index: chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc b/chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc
|
| index a7f5509dd7835087479f3d83662027027db5b282..03c76443b34904a78f8153842c4fde303a7c813b 100644
|
| --- a/chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc
|
| @@ -48,7 +48,7 @@ ExtensionPopupGtk::ExtensionPopupGtk(Browser* browser,
|
| host_(host),
|
| anchor_(anchor),
|
| weak_factory_(this) {
|
| - host_->view()->SetContainer(this);
|
| + host_->GetExtensionView()->SetContainer(this);
|
| being_inspected_ = show_action == SHOW_AND_INSPECT;
|
|
|
| // If the host had somehow finished loading, then we'd miss the notification
|
| @@ -184,7 +184,7 @@ void ExtensionPopupGtk::ShowPopup() {
|
| BubbleGtk::ARROW_LOCATION_TOP_LEFT;
|
| bubble_ = BubbleGtk::Show(anchor_,
|
| NULL,
|
| - host_->view()->native_view(),
|
| + host_->GetExtensionView()->GetNativeView(),
|
| arrow_location,
|
| being_inspected_ ? 0 :
|
| BubbleGtk::POPUP_WINDOW | BubbleGtk::GRAB_INPUT,
|
| @@ -198,6 +198,7 @@ void ExtensionPopupGtk::DestroyPopupWithoutResult() {
|
|
|
| gfx::Rect ExtensionPopupGtk::GetViewBounds() {
|
| GtkAllocation allocation;
|
| - gtk_widget_get_allocation(host_->view()->native_view(), &allocation);
|
| + gtk_widget_get_allocation(host_->GetExtensionView()->GetNativeView(),
|
| + &allocation);
|
| return gfx::Rect(allocation);
|
| }
|
|
|