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

Unified Diff: webkit/tools/test_shell/webwidget_host_win.cc

Issue 7019013: Removal of dependencies on PlatformDevice classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Remove unnecessary headers. Created 9 years, 7 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
Index: webkit/tools/test_shell/webwidget_host_win.cc
===================================================================
--- webkit/tools/test_shell/webwidget_host_win.cc (revision 85672)
+++ webkit/tools/test_shell/webwidget_host_win.cc (working copy)
@@ -279,10 +279,9 @@
// Paint to the screen
PAINTSTRUCT ps;
BeginPaint(view_, &ps);
- canvas_->getTopPlatformDevice().drawToHDC(ps.hdc,
- ps.rcPaint.left,
- ps.rcPaint.top,
- &ps.rcPaint);
+ skia::platform_util::DrawToHDC(&canvas_->getTopDevice(), ps.hdc,
+ ps.rcPaint.left, ps.rcPaint.top,
+ &ps.rcPaint);
EndPaint(view_, &ps);
// Draw children
« skia/ext/platform_device.h ('K') | « webkit/tools/test_shell/mac/webwidget_host.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698