Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Unified Diff: views/widget/root_view_win.cc

Issue 2862025: Canvas refactoring part 2.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/drag_utils.cc ('k') | views/widget/widget_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
}
}
« no previous file with comments | « views/drag_utils.cc ('k') | views/widget/widget_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698