summaryrefslogtreecommitdiffstats
path: root/skia/ext/platform_canvas_win.cc
diff options
context:
space:
mode:
authoralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-06 22:12:33 +0000
committeralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-06 22:12:33 +0000
commit973b7701f2be80ea89cc0799912b64b76a30de5d (patch)
tree2a6e7f587d9e94e26d8a30d56491f2a9fb4621db /skia/ext/platform_canvas_win.cc
parent00174ef7842eef55f7d697fedf947b5ad415368c (diff)
downloadchromium_src-973b7701f2be80ea89cc0799912b64b76a30de5d.zip
chromium_src-973b7701f2be80ea89cc0799912b64b76a30de5d.tar.gz
chromium_src-973b7701f2be80ea89cc0799912b64b76a30de5d.tar.bz2
Fixed a few styles issues in skia::PlatformDevice. Made function names consistent. Added Begin/EndPlatformPaint on Mac.
Review URL: http://codereview.chromium.org/6691067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80707 0039d316-1c4b-4281-b951-d872f2087c98
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