| Index: skia/ext/platform_device_mac.cc
|
| ===================================================================
|
| --- skia/ext/platform_device_mac.cc (revision 98232)
|
| +++ skia/ext/platform_device_mac.cc (working copy)
|
| @@ -22,6 +22,15 @@
|
| return NULL;
|
| }
|
|
|
| +PlatformDevice::PlatformDevice(const SkBitmap& bitmap)
|
| + : SkDevice(bitmap) {
|
| + SetPlatformDevice(this, this);
|
| +}
|
| +
|
| +bool PlatformDevice::IsNativeFontRenderingAllowed() {
|
| + return true;
|
| +}
|
| +
|
| CGContextRef PlatformDevice::BeginPlatformPaint() {
|
| return GetBitmapContext();
|
| }
|
| @@ -153,3 +162,4 @@
|
| }
|
|
|
| } // namespace skia
|
| +
|
|
|
|
|