Index: chrome/browser/ui/views/tab_contents/native_tab_contents_view_gtk.cc |
=================================================================== |
--- chrome/browser/ui/views/tab_contents/native_tab_contents_view_gtk.cc (revision 110826) |
+++ chrome/browser/ui/views/tab_contents/native_tab_contents_view_gtk.cc (working copy) |
@@ -8,7 +8,6 @@ |
#include "chrome/browser/ui/gtk/constrained_window_gtk.h" |
#include "chrome/browser/tab_contents/web_drag_bookmark_handler_gtk.h" |
#include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_delegate.h" |
-#include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_views.h" |
#include "content/browser/renderer_host/render_widget_host_view_gtk.h" |
#include "content/browser/tab_contents/tab_contents.h" |
#include "content/browser/tab_contents/tab_contents_view.h" |
@@ -288,7 +287,5 @@ |
// static |
NativeTabContentsView* NativeTabContentsView::CreateNativeTabContentsView( |
internal::NativeTabContentsViewDelegate* delegate) { |
- if (views::Widget::IsPureViews()) |
- return new NativeTabContentsViewViews(delegate); |
return new NativeTabContentsViewGtk(delegate); |
} |