| Index: src/base/gfx/platform_canvas_linux.cc
|
| diff --git a/src/base/gfx/platform_canvas_linux.cc b/src/base/gfx/platform_canvas_linux.cc
|
| index 5ebeb27d08a493352200ffecf93710b39e1dea6f..b5795368110daccfba2c89d07cdbd43f33bb20ad 100644
|
| --- a/src/base/gfx/platform_canvas_linux.cc
|
| +++ b/src/base/gfx/platform_canvas_linux.cc
|
| @@ -38,8 +38,11 @@ PlatformDeviceLinux& PlatformCanvasLinux::getTopPlatformDevice() const {
|
| return *static_cast<PlatformDeviceLinux*>(iter.device());
|
| }
|
|
|
| -SkDevice* PlatformCanvasLinux::createDevice(SkBitmap::Config, int width,
|
| - int height, bool is_opaque) {
|
| +SkDevice* PlatformCanvasLinux::createDevice(SkBitmap::Config config,
|
| + int width,
|
| + int height,
|
| + bool is_opaque, bool isForLayer) {
|
| + DCHECK(config == SkBitmap::kARGB_8888_Config);
|
| return createPlatformDevice(width, height, is_opaque);
|
| }
|
|
|
|
|