summaryrefslogtreecommitdiffstats
path: root/skia/ext/platform_canvas_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'skia/ext/platform_canvas_win.cc')
-rw-r--r--skia/ext/platform_canvas_win.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/skia/ext/platform_canvas_win.cc b/skia/ext/platform_canvas_win.cc
index 8d1a65a4..2283b19 100644
--- a/skia/ext/platform_canvas_win.cc
+++ b/skia/ext/platform_canvas_win.cc
@@ -107,13 +107,11 @@ bool PlatformCanvas::initialize(int width,
}
HDC PlatformCanvas::beginPlatformPaint() const {
- return getTopPlatformDevice().beginPlatformPaint();
+ return getTopPlatformDevice().BeginPlatformPaint();
}
void PlatformCanvas::endPlatformPaint() const {
- // we don't clear the DC here since it will be likely to be used again
- // flushing will be done in onAccessBitmap
- return getTopPlatformDevice().endPlatformPaint();
+ return getTopPlatformDevice().EndPlatformPaint();
}
} // namespace skia