Index: chrome/browser/ui/views/frame/browser_frame_gtk.cc |
=================================================================== |
--- chrome/browser/ui/views/frame/browser_frame_gtk.cc (revision 110826) |
+++ chrome/browser/ui/views/frame/browser_frame_gtk.cc (working copy) |
@@ -10,7 +10,6 @@ |
#include "chrome/browser/themes/theme_service_factory.h" |
#include "chrome/browser/ui/status_bubble.h" |
#include "chrome/browser/ui/views/frame/app_panel_browser_frame_view.h" |
-#include "chrome/browser/ui/views/frame/browser_frame_views.h" |
#include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" |
#include "chrome/browser/ui/views/frame/browser_view.h" |
#include "ui/base/hit_test.h" |
@@ -90,8 +89,5 @@ |
NativeBrowserFrame* NativeBrowserFrame::CreateNativeBrowserFrame( |
BrowserFrame* browser_frame, |
BrowserView* browser_view) { |
- if (views::Widget::IsPureViews() && |
- views::ViewsDelegate::views_delegate->GetDefaultParentView()) |
- return new BrowserFrameViews(browser_frame, browser_view); |
return new BrowserFrameGtk(browser_frame, browser_view); |
} |