| Index: ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
|
| diff --git a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
|
| index 6e49b1c31a04c4dccb9f436746bfbee63814d463..9ccccfa5209ab6566e91920951b35090594eda4e 100644
|
| --- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
|
| +++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
|
| @@ -45,7 +45,6 @@
|
| #include "ui/views/widget/widget_aura_utils.h"
|
| #include "ui/views/widget/widget_delegate.h"
|
| #include "ui/views/widget/window_reorderer.h"
|
| -#include "ui/views/window/native_frame_view.h"
|
| #include "ui/wm/core/compound_event_filter.h"
|
| #include "ui/wm/core/cursor_manager.h"
|
| #include "ui/wm/core/focus_controller.h"
|
| @@ -529,7 +528,7 @@ void DesktopNativeWidgetAura::InitNativeWidget(
|
| void DesktopNativeWidgetAura::OnWidgetInitDone() {}
|
|
|
| NonClientFrameView* DesktopNativeWidgetAura::CreateNonClientFrameView() {
|
| - return ShouldUseNativeFrame() ? new NativeFrameView(GetWidget()) : NULL;
|
| + return desktop_window_tree_host_->CreateNonClientFrameView();
|
| }
|
|
|
| bool DesktopNativeWidgetAura::ShouldUseNativeFrame() const {
|
|
|