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

Unified Diff: skia/ext/bitmap_platform_device_mac.cc

Issue 2607603004: Remove PlatformCanvas::GetBitmapContext() (Closed)
Patch Set: Mac build fix Created 4 years 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
« no previous file with comments | « skia/ext/bitmap_platform_device_mac.h ('k') | skia/ext/platform_canvas.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/bitmap_platform_device_mac.cc
diff --git a/skia/ext/bitmap_platform_device_mac.cc b/skia/ext/bitmap_platform_device_mac.cc
index ba5f81be324398effb767e19536134eceb6798c1..67ad2a9fa2354d271ed43748dda0b5c94b67a260 100644
--- a/skia/ext/bitmap_platform_device_mac.cc
+++ b/skia/ext/bitmap_platform_device_mac.cc
@@ -244,8 +244,9 @@ BitmapPlatformDevice::~BitmapPlatformDevice() {
CGContextRelease(bitmap_context_);
}
-CGContextRef BitmapPlatformDevice::GetBitmapContext(const SkMatrix& transform,
- const SkIRect& clip_bounds) {
+NativeDrawingContext BitmapPlatformDevice::BeginPlatformPaint(
+ const SkMatrix& transform,
+ const SkIRect& clip_bounds) {
LoadConfig(transform, clip_bounds);
return bitmap_context_;
}
« no previous file with comments | « skia/ext/bitmap_platform_device_mac.h ('k') | skia/ext/platform_canvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698