Index: skia/ext/platform_device_linux.h |
diff --git a/skia/ext/platform_device_linux.h b/skia/ext/platform_device_linux.h |
index 5c16c08ac631bec0507aefd2033cc5ba2de5499e..eae8965dd88bcc11044f32c2071b9353ed4a6251 100644 |
--- a/skia/ext/platform_device_linux.h |
+++ b/skia/ext/platform_device_linux.h |
@@ -7,6 +7,8 @@ |
#include "SkDevice.h" |
+typedef struct _cairo_surface cairo_surface_t; |
+ |
namespace skia { |
// Blindly copying the mac hierarchy. |
@@ -15,6 +17,8 @@ class PlatformDeviceLinux : public SkDevice { |
// Returns if the preferred rendering engine is vectorial or bitmap based. |
virtual bool IsVectorial() = 0; |
+ virtual cairo_surface_t* beginPlatformPaint() = 0; |
+ |
protected: |
// Forwards |bitmap| to SkDevice's constructor. |
PlatformDeviceLinux(const SkBitmap& bitmap); |