| Index: chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc b/chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc
|
| index 1e8113fb276235ea3ec8dbdf4b2cc52311e46405..4e3cc62aa1882b877469a2beba8772791f4f541a 100644
|
| --- a/chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc
|
| @@ -127,7 +127,7 @@ void ExtensionInfoBarGtk::BuildWidgets() {
|
| gtk_box_pack_start(GTK_BOX(hbox_), alignment_, TRUE, TRUE, 0);
|
|
|
| extensions::ExtensionHost* extension_host = delegate_->extension_host();
|
| - view_ = extension_host->view();
|
| + view_ = extension_host->GetExtensionView();
|
|
|
| if (gtk_widget_get_parent(view_->native_view())) {
|
| gtk_widget_reparent(view_->native_view(), alignment_);
|
| @@ -172,7 +172,7 @@ void ExtensionInfoBarGtk::OnSizeAllocate(GtkWidget* widget,
|
| GtkAllocation* allocation) {
|
| gfx::Size new_size(allocation->width, allocation->height);
|
|
|
| - delegate_->extension_host()->view()->render_view_host()->GetView()
|
| + delegate_->extension_host()->GetExtensionView()->render_view_host()->GetView()
|
| ->SetSize(new_size);
|
| }
|
|
|
|
|