Index: skia/ext/platform_canvas_win.cc |
=================================================================== |
--- skia/ext/platform_canvas_win.cc (revision 80358) |
+++ skia/ext/platform_canvas_win.cc (working copy) |
@@ -107,12 +107,11 @@ |
} |
HDC PlatformCanvas::beginPlatformPaint() { |
- return getTopPlatformDevice().getBitmapDC(); |
+ return getTopPlatformDevice().beginPlatformPaint(); |
} |
void PlatformCanvas::endPlatformPaint() { |
- // we don't clear the DC here since it will be likely to be used again |
- // flushing will be done in onAccessBitmap |
+ getTopPlatformDevice().endPlatformPaint(); |
} |
} // namespace skia |