summaryrefslogtreecommitdiffstats
path: root/skia/ext/platform_device_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'skia/ext/platform_device_win.h')
-rw-r--r--skia/ext/platform_device_win.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/skia/ext/platform_device_win.h b/skia/ext/platform_device_win.h
index 966b49f..5523ef9 100644
--- a/skia/ext/platform_device_win.h
+++ b/skia/ext/platform_device_win.h
@@ -30,10 +30,10 @@ class SK_API PlatformDevice : public SkDevice {
// The DC that corresponds to the bitmap, used for GDI operations drawing
// into the bitmap. This is possibly heavyweight, so it should be existant
// only during one pass of rendering.
- virtual HDC beginPlatformPaint() = 0;
+ virtual PlatformSurface BeginPlatformPaint() = 0;
// Finish a previous call to beginPlatformPaint.
- virtual void endPlatformPaint() { }
+ virtual void EndPlatformPaint();
// Draws to the given screen DC, if the bitmap DC doesn't exist, this will
// temporarily create it. However, if you have created the bitmap DC, it will