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

Unified Diff: views/drag_utils_win.cc

Issue 2811032: Revert 50784 - Canvas refactoring part 3.... (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/painter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/drag_utils_win.cc
===================================================================
--- views/drag_utils_win.cc (revision 50789)
+++ views/drag_utils_win.cc (working copy)
@@ -10,7 +10,7 @@
#include "app/os_exchange_data.h"
#include "app/os_exchange_data_provider_win.h"
-#include "gfx/canvas_skia.h"
+#include "gfx/canvas.h"
#include "gfx/gdi_util.h"
namespace drag_utils {
@@ -47,7 +47,7 @@
HDC compatible_dc = CreateCompatibleDC(screen_dc);
HGDIOBJ old_object = SelectObject(compatible_dc, bitmap);
BitBlt(compatible_dc, 0, 0, width, height,
- canvas.AsCanvasSkia()->getTopPlatformDevice().getBitmapDC(),
+ canvas.getTopPlatformDevice().getBitmapDC(),
0, 0, SRCCOPY);
SelectObject(compatible_dc, old_object);
ReleaseDC(NULL, compatible_dc);
« no previous file with comments | « views/drag_utils.cc ('k') | views/painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698