summaryrefslogtreecommitdiffstats
path: root/skia/ext/platform_canvas_linux.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_linux.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_linux.cc')
-rw-r--r--skia/ext/platform_canvas_linux.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/skia/ext/platform_canvas_linux.cc b/skia/ext/platform_canvas_linux.cc
index fc038f9..1de283c 100644
--- a/skia/ext/platform_canvas_linux.cc
+++ b/skia/ext/platform_canvas_linux.cc
@@ -34,11 +34,11 @@ bool PlatformCanvas::initialize(int width, int height, bool is_opaque,
}
cairo_t* PlatformCanvas::beginPlatformPaint() const {
- return getTopPlatformDevice().beginPlatformPaint();
+ return getTopPlatformDevice().BeginPlatformPaint();
}
void PlatformCanvas::endPlatformPaint() const {
- // We don't need to do anything on Linux here.
+ getTopPlatformDevice().EndPlatformPaint();
}
} // namespace skia