| Index: chrome/browser/ui/gtk/constrained_window_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/constrained_window_gtk.cc b/chrome/browser/ui/gtk/constrained_window_gtk.cc
|
| index ac57be3b83bec536b9b6d92af75e2f37e1005300..a6f7c21ec5044a8373783cc161d7188a4380d6a2 100644
|
| --- a/chrome/browser/ui/gtk/constrained_window_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/constrained_window_gtk.cc
|
| @@ -21,6 +21,7 @@
|
| #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_gtk.h"
|
| #include "chrome/browser/ui/views/tab_contents/tab_contents_view_views.h"
|
| #else
|
| +#include "chrome/browser/tab_contents/chrome_tab_contents_view_wrapper_gtk.h"
|
| #include "chrome/browser/tab_contents/tab_contents_view_gtk.h"
|
| #endif
|
|
|
| @@ -138,7 +139,9 @@ ConstrainedWindowGtk::TabContentsViewType*
|
| static_cast<TabContentsViewViews*>(wrapper_->view())->
|
| native_tab_contents_view());
|
| #else
|
| - return static_cast<TabContentsViewType*>(wrapper_->view());
|
| + return static_cast<TabContentsViewType*>(
|
| + static_cast<TabContentsViewGtk*>(wrapper_->view())->
|
| + wrapper());
|
| #endif
|
| }
|
|
|
|
|