Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1754)

Unified Diff: skia/ext/platform_canvas_mac.cc

Issue 6691067: Fixed a few styles issues in skia::PlatformDevice. Made function names consistent. Added Begin/En... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: skia/ext/platform_canvas_mac.cc
===================================================================
--- skia/ext/platform_canvas_mac.cc (revision 80484)
+++ skia/ext/platform_canvas_mac.cc (working copy)
@@ -50,11 +50,11 @@
}
CGContextRef PlatformCanvas::beginPlatformPaint() const {
- return getTopPlatformDevice().GetBitmapContext();
+ return getTopPlatformDevice().BeginPlatformPaint();
}
void PlatformCanvas::endPlatformPaint() const {
- // Flushing will be done in onAccessBitmap.
+ getTopPlatformDevice().EndPlatformPaint();
}
} // namespace skia

Powered by Google App Engine
This is Rietveld 408576698