Index: skia/ext/bitmap_platform_device_mac.cc |
=================================================================== |
--- skia/ext/bitmap_platform_device_mac.cc (revision 120216) |
+++ skia/ext/bitmap_platform_device_mac.cc (working copy) |
@@ -233,8 +233,9 @@ |
data_->ReleaseBitmapContext(); |
} |
-void BitmapPlatformDevice::onAccessBitmap(SkBitmap*) { |
+const SkBitmap& BitmapPlatformDevice::onAccessBitmap(SkBitmap* bitmap) { |
// Not needed in CoreGraphics |
+ return *bitmap; |
} |
SkDevice* BitmapPlatformDevice::onCreateCompatibleDevice( |