summaryrefslogtreecommitdiffstats
path: root/views/widget/widget_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/widget/widget_win.cc')
-rw-r--r--views/widget/widget_win.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/views/widget/widget_win.cc b/views/widget/widget_win.cc
index 5948bfd..7705784 100644
--- a/views/widget/widget_win.cc
+++ b/views/widget/widget_win.cc
@@ -9,6 +9,7 @@
#include "app/win_util.h"
#include "base/string_util.h"
#include "base/win_util.h"
+#include "gfx/canvas.h"
#include "gfx/canvas_skia.h"
#include "gfx/native_theme_win.h"
#include "gfx/path.h"
@@ -1121,9 +1122,9 @@ Window* WidgetWin::GetWindowImpl(HWND hwnd) {
}
void WidgetWin::SizeContents(const gfx::Size& window_size) {
- contents_.reset(new gfx::CanvasSkia(window_size.width(),
- window_size.height(),
- false));
+ contents_.reset(new gfx::Canvas(window_size.width(),
+ window_size.height(),
+ false));
}
void WidgetWin::PaintLayeredWindow() {