| Index: ui/views/widget/native_widget_win.cc
|
| diff --git a/ui/views/widget/native_widget_win.cc b/ui/views/widget/native_widget_win.cc
|
| index 5f6181116e3198b0134ce0aa370ba662c57d8b05..ecd7d832db3fd0527691fcde1ec295e7f82174f2 100644
|
| --- a/ui/views/widget/native_widget_win.cc
|
| +++ b/ui/views/widget/native_widget_win.cc
|
| @@ -25,8 +25,8 @@
|
| #include "ui/base/view_prop.h"
|
| #include "ui/base/win/hwnd_util.h"
|
| #include "ui/base/win/mouse_wheel_util.h"
|
| +#include "ui/gfx/canvas.h"
|
| #include "ui/gfx/canvas_paint.h"
|
| -#include "ui/gfx/canvas_skia.h"
|
| #include "ui/gfx/canvas_skia_paint.h"
|
| #include "ui/gfx/icon_util.h"
|
| #include "ui/gfx/native_theme_win.h"
|
| @@ -2382,7 +2382,7 @@ void NativeWidgetWin::ClientAreaSizeChanged() {
|
| std::max(0, static_cast<int>(r.bottom - r.top)));
|
| delegate_->OnNativeWidgetSizeChanged(s);
|
| if (use_layered_buffer_)
|
| - layered_window_contents_.reset(new gfx::CanvasSkia(s, false));
|
| + layered_window_contents_.reset(new gfx::Canvas(s, false));
|
| }
|
|
|
| void NativeWidgetWin::UpdateDWMFrame() {
|
|
|