| Index: skia/ext/skia_utils_mac.mm
|
| ===================================================================
|
| --- skia/ext/skia_utils_mac.mm (revision 86628)
|
| +++ skia/ext/skia_utils_mac.mm (working copy)
|
| @@ -193,10 +193,10 @@
|
| int width = CGImageGetWidth(image);
|
| int height = CGImageGetHeight(image);
|
|
|
| - scoped_ptr<SkDevice> device(
|
| + scoped_ptr<skia::BitmapPlatformDevice> device(
|
| skia::BitmapPlatformDevice::Create(NULL, width, height, false));
|
|
|
| - CGContextRef context = skia::GetBitmapContext(device.get());
|
| + CGContextRef context = device->GetBitmapContext();
|
|
|
| // 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-
|
|
|