Index: views/widget/root_view_win.cc |
=================================================================== |
--- views/widget/root_view_win.cc (revision 50543) |
+++ views/widget/root_view_win.cc (working copy) |
@@ -9,7 +9,8 @@ |
#include "app/os_exchange_data_provider_win.h" |
#include "base/base_drag_source.h" |
#include "base/logging.h" |
-#include "gfx/canvas_paint.h" |
+#include "gfx/canvas_2.h" |
+#include "gfx/canvas_skia.h" |
namespace views { |
@@ -29,7 +30,7 @@ |
if (!canvas->IsValid()) { |
SchedulePaint(canvas->GetInvalidRect(), false); |
if (NeedsPainting(false)) |
- ProcessPaint(canvas->AsCanvas2()->AsCanvas()); |
+ ProcessPaint(canvas->AsCanvas2()->AsCanvasSkia()->AsCanvas()); |
} |
} |