summaryrefslogtreecommitdiffstats
path: root/skia/ext/platform_device_linux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'skia/ext/platform_device_linux.cc')
-rw-r--r--skia/ext/platform_device_linux.cc15
1 files changed, 2 insertions, 13 deletions
diff --git a/skia/ext/platform_device_linux.cc b/skia/ext/platform_device_linux.cc
index f633758..f72e614 100644
--- a/skia/ext/platform_device_linux.cc
+++ b/skia/ext/platform_device_linux.cc
@@ -6,23 +6,12 @@
namespace skia {
-PlatformDevice::PlatformDevice(const SkBitmap& bitmap)
- : SkDevice(bitmap) {
- SetPlatformDevice(this, this);
-}
-
-bool PlatformDevice::IsNativeFontRenderingAllowed() {
- return true;
+PlatformSurface PlatformDevice::BeginPlatformPaint() {
+ return NULL;
}
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