summaryrefslogtreecommitdiffstats
path: root/skia/ext/platform_device_linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'skia/ext/platform_device_linux.h')
-rw-r--r--skia/ext/platform_device_linux.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/skia/ext/platform_device_linux.h b/skia/ext/platform_device_linux.h
index c23a4d8..2a08cc8 100644
--- a/skia/ext/platform_device_linux.h
+++ b/skia/ext/platform_device_linux.h
@@ -7,19 +7,19 @@
#include "third_party/skia/include/core/SkDevice.h"
-typedef struct _cairo_surface cairo_surface_t;
+typedef struct _cairo cairo_t;
namespace skia {
// Blindly copying the mac hierarchy.
class PlatformDevice : public SkDevice {
public:
- typedef cairo_surface_t* PlatformSurface;
+ typedef cairo_t* PlatformSurface;
// Returns if the preferred rendering engine is vectorial or bitmap based.
virtual bool IsVectorial() = 0;
- virtual cairo_surface_t* beginPlatformPaint() = 0;
+ virtual PlatformSurface beginPlatformPaint() = 0;
protected:
// Forwards |bitmap| to SkDevice's constructor.