| Index: skia/ext/bitmap_platform_device_linux.cc
|
| diff --git a/skia/ext/bitmap_platform_device_linux.cc b/skia/ext/bitmap_platform_device_linux.cc
|
| index 4c566b4e3bb3c17d2a56d4b5f9f8ff8385869ac5..d976b9cf6adc982f2556f677485a6c87c0379dfd 100644
|
| --- a/skia/ext/bitmap_platform_device_linux.cc
|
| +++ b/skia/ext/bitmap_platform_device_linux.cc
|
| @@ -37,6 +37,14 @@ void LoadClipToContext(cairo_t* context, const SkRegion& clip) {
|
|
|
| } // namespace
|
|
|
| +SkDevice* SkBitmapPlatformDeviceFactory::newDevice(SkBitmap::Config config,
|
| + int width, int height,
|
| + bool isOpaque,
|
| + bool isForLayer) {
|
| + SkASSERT(config == SkBitmap::kARGB_8888_Config);
|
| + return BitmapPlatformDevice::Create(width, height, isOpaque);
|
| +}
|
| +
|
| BitmapPlatformDevice::BitmapPlatformDeviceData::BitmapPlatformDeviceData(
|
| cairo_surface_t* surface)
|
| : surface_(surface),
|
|
|