diff options
Diffstat (limited to 'base/gfx/bitmap_platform_device_linux.cc')
-rw-r--r-- | base/gfx/bitmap_platform_device_linux.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/base/gfx/bitmap_platform_device_linux.cc b/base/gfx/bitmap_platform_device_linux.cc index 1211a15..171f6b9 100644 --- a/base/gfx/bitmap_platform_device_linux.cc +++ b/base/gfx/bitmap_platform_device_linux.cc @@ -38,6 +38,12 @@ BitmapPlatformDeviceLinux::BitmapPlatformDeviceLinux(const SkBitmap& bitmap) : PlatformDeviceLinux(bitmap) { } +BitmapPlatformDeviceLinux::BitmapPlatformDeviceLinux( + const BitmapPlatformDeviceLinux& other) + : PlatformDeviceLinux(const_cast<BitmapPlatformDeviceLinux&>( + other).accessBitmap(true)) { +} + BitmapPlatformDeviceLinux::~BitmapPlatformDeviceLinux() { } |