| Index: skia/ext/platform_device_linux.cc
|
| ===================================================================
|
| --- skia/ext/platform_device_linux.cc (revision 97852)
|
| +++ skia/ext/platform_device_linux.cc (working copy)
|
| @@ -6,23 +6,12 @@
|
|
|
| namespace skia {
|
|
|
| -PlatformDevice::PlatformDevice(const SkBitmap& bitmap)
|
| - : SkDevice(bitmap) {
|
| - SetPlatformDevice(this, this);
|
| +PlatformDevice::PlatformSurface PlatformDevice::BeginPlatformPaint() {
|
| + return NULL;
|
| }
|
|
|
| -bool PlatformDevice::IsNativeFontRenderingAllowed() {
|
| - return true;
|
| -}
|
| -
|
| void PlatformDevice::EndPlatformPaint() {
|
| // We don't need to do anything on Linux here.
|
| }
|
|
|
| -void PlatformDevice::DrawToNativeContext(PlatformSurface surface, int x, int y,
|
| - const PlatformRect* src_rect) {
|
| - // Should never be called on Linux.
|
| - SkASSERT(false);
|
| -}
|
| -
|
| } // namespace skia
|
|
|