| Index: skia/ext/bitmap_platform_device_mac_unittest.cc
|
| diff --git a/skia/ext/bitmap_platform_device_mac_unittest.cc b/skia/ext/bitmap_platform_device_mac_unittest.cc
|
| index e6f3c759334912b7d3de17e94726e85d213aa225..b1f6ee74dab194fbcb6c7295996a3f66e0aea036 100644
|
| --- a/skia/ext/bitmap_platform_device_mac_unittest.cc
|
| +++ b/skia/ext/bitmap_platform_device_mac_unittest.cc
|
| @@ -36,7 +36,7 @@ TEST_F(BitmapPlatformDeviceMacTest, ClipRectTransformWithTranslate) {
|
| canvas->setMatrix(transform);
|
|
|
| ScopedPlatformPaint p(canvas.get());
|
| - CGContextRef context = p.GetPlatformSurface();
|
| + CGContextRef context = p.GetNativeDrawingContext();
|
|
|
| SkRect clip_rect = skia::CGRectToSkRect(CGContextGetClipBoundingBox(context));
|
| transform.mapRect(&clip_rect);
|
| @@ -54,7 +54,7 @@ TEST_F(BitmapPlatformDeviceMacTest, ClipRectTransformWithScale) {
|
| canvas->setMatrix(transform);
|
|
|
| ScopedPlatformPaint p(canvas.get());
|
| - CGContextRef context = p.GetPlatformSurface();
|
| + CGContextRef context = p.GetNativeDrawingContext();
|
|
|
| SkRect clip_rect = skia::CGRectToSkRect(CGContextGetClipBoundingBox(context));
|
| transform.mapRect(&clip_rect);
|
|
|