| Index: skia/ext/bitmap_platform_device_linux.cc
|
| ===================================================================
|
| --- skia/ext/bitmap_platform_device_linux.cc (revision 98232)
|
| +++ skia/ext/bitmap_platform_device_linux.cc (working copy)
|
| @@ -120,9 +120,8 @@
|
| BitmapPlatformDevice::BitmapPlatformDevice(
|
| const SkBitmap& bitmap,
|
| BitmapPlatformDeviceData* data)
|
| - : SkDevice(bitmap),
|
| + : PlatformDevice(bitmap),
|
| data_(data) {
|
| - SetPlatformDevice(this, this);
|
| }
|
|
|
| BitmapPlatformDevice::~BitmapPlatformDevice() {
|
| @@ -147,12 +146,6 @@
|
| return cairo;
|
| }
|
|
|
| -void BitmapPlatformDevice::DrawToNativeContext(
|
| - PlatformSurface surface, int x, int y, const PlatformRect* src_rect) {
|
| - // Should never be called on Linux.
|
| - SkASSERT(false);
|
| -}
|
| -
|
| void BitmapPlatformDevice::setMatrixClip(const SkMatrix& transform,
|
| const SkRegion& region,
|
| const SkClipStack&) {
|
|
|