| Index: skia/ext/platform_device_linux.h
|
| ===================================================================
|
| --- skia/ext/platform_device_linux.h (revision 20972)
|
| +++ skia/ext/platform_device_linux.h (working copy)
|
| @@ -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.
|
|
|