diff options
Diffstat (limited to 'skia/ext/vector_canvas.h')
-rw-r--r-- | skia/ext/vector_canvas.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/skia/ext/vector_canvas.h b/skia/ext/vector_canvas.h index aac0400..4b4419d 100644 --- a/skia/ext/vector_canvas.h +++ b/skia/ext/vector_canvas.h @@ -8,10 +8,10 @@ #include "skia/ext/platform_canvas.h" -class SkDevice; - namespace skia { +class PlatformDevice; + // This class is a specialization of the regular PlatformCanvas. It is designed // to work with a VectorDevice to manage platform-specific drawing. It allows // using both Skia operations and platform-specific operations. It *doesn't* @@ -19,7 +19,7 @@ namespace skia { class SK_API VectorCanvas : public PlatformCanvas { public: // Ownership of |device| is transfered to VectorCanvas. - explicit VectorCanvas(SkDevice* device); + explicit VectorCanvas(PlatformDevice* device); virtual ~VectorCanvas(); virtual SkBounder* setBounder(SkBounder* bounder); |