| Index: skia/ext/platform_canvas.cc
|
| diff --git a/skia/ext/platform_canvas.cc b/skia/ext/platform_canvas.cc
|
| index c19464d8baaf5ec127d1c9f7f20907f48b4df4c7..52a11c7b47ea03e92f20b882ba827b070e336b9a 100644
|
| --- a/skia/ext/platform_canvas.cc
|
| +++ b/skia/ext/platform_canvas.cc
|
| @@ -88,18 +88,6 @@ void SetIsPreviewMetafile(const SkCanvas& canvas, bool is_preview) {
|
| bool IsPreviewMetafile(const SkCanvas& canvas) {
|
| return GetBoolMetaData(canvas, kIsPreviewMetafileKey);
|
| }
|
| -
|
| -CGContextRef GetBitmapContext(const SkCanvas& canvas) {
|
| - PlatformDevice* platform_device =
|
| - GetPlatformDevice(canvas.getTopDevice(true));
|
| - SkIRect clip_bounds;
|
| - canvas.getClipDeviceBounds(&clip_bounds);
|
| - return platform_device ?
|
| - platform_device->GetBitmapContext(
|
| - canvas.getTotalMatrix(), clip_bounds) :
|
| - nullptr;
|
| -}
|
| -
|
| #endif
|
|
|
| ScopedPlatformPaint::ScopedPlatformPaint(SkCanvas* canvas) :
|
|
|