| Index: skia/ext/skia_utils_mac.mm
|
| diff --git a/skia/ext/skia_utils_mac.mm b/skia/ext/skia_utils_mac.mm
|
| index 1718551735087ad478827dc4a95f23f4fbbb9975..9ebdd7a227c8fc65edcd34b46e04a8892e31b246 100644
|
| --- a/skia/ext/skia_utils_mac.mm
|
| +++ b/skia/ext/skia_utils_mac.mm
|
| @@ -193,7 +193,7 @@ SkBitmap CGImageToSkBitmap(CGImageRef image) {
|
| sk_sp<SkCanvas> canvas(skia::CreatePlatformCanvas(
|
| nullptr, width, height, false, RETURN_NULL_ON_FAILURE));
|
| ScopedPlatformPaint p(canvas.get());
|
| - CGContextRef context = p.GetPlatformSurface();
|
| + CGContextRef context = p.GetNativeDrawingContext();
|
|
|
| // We need to invert the y-axis of the canvas so that Core Graphics drawing
|
| // happens right-side up. Skia has an upper-left origin and CG has a lower-
|
|
|