diff options
Diffstat (limited to 'skia/ext/platform_device_linux.h')
-rw-r--r-- | skia/ext/platform_device_linux.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/skia/ext/platform_device_linux.h b/skia/ext/platform_device_linux.h index e438d85a..c23a4d8 100644 --- a/skia/ext/platform_device_linux.h +++ b/skia/ext/platform_device_linux.h @@ -12,8 +12,10 @@ typedef struct _cairo_surface cairo_surface_t; namespace skia { // Blindly copying the mac hierarchy. -class PlatformDeviceLinux : public SkDevice { +class PlatformDevice : public SkDevice { public: + typedef cairo_surface_t* PlatformSurface; + // Returns if the preferred rendering engine is vectorial or bitmap based. virtual bool IsVectorial() = 0; @@ -21,7 +23,7 @@ class PlatformDeviceLinux : public SkDevice { protected: // Forwards |bitmap| to SkDevice's constructor. - PlatformDeviceLinux(const SkBitmap& bitmap); + PlatformDevice(const SkBitmap& bitmap); }; } // namespace skia |