| Index: skia/ext/bitmap_platform_device_skia.cc
|
| diff --git a/skia/ext/bitmap_platform_device_skia.cc b/skia/ext/bitmap_platform_device_skia.cc
|
| index 136706d7fbb49733338d23275b2aca53d3fcac12..87edc03218e7e7fa21e35e4f2e65d12ef712d82a 100644
|
| --- a/skia/ext/bitmap_platform_device_skia.cc
|
| +++ b/skia/ext/bitmap_platform_device_skia.cc
|
| @@ -49,6 +49,13 @@ SkBaseDevice* BitmapPlatformDevice::onCreateCompatibleDevice(
|
| info.fInfo.isOpaque());
|
| }
|
|
|
| +SkBaseDevice* BitmapPlatformDevice::onCreateDevice(const CreateInfo& info,
|
| + const SkPaint*) {
|
| + SkASSERT(info.fInfo.colorType() == kN32_SkColorType);
|
| + return BitmapPlatformDevice::Create(info.fInfo.width(), info.fInfo.height(),
|
| + info.fInfo.isOpaque());
|
| +}
|
| +
|
| PlatformSurface BitmapPlatformDevice::BeginPlatformPaint() {
|
| // TODO(zhenghao): What should we return? The ptr to the address of the
|
| // pixels? Maybe this won't be called at all.
|
|
|