diff options
Diffstat (limited to 'include/views')
-rw-r--r-- | include/views/SkWindow.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/views/SkWindow.h b/include/views/SkWindow.h index 2a9315dc8c..40cc5ecb31 100644 --- a/include/views/SkWindow.h +++ b/include/views/SkWindow.h @@ -21,8 +21,7 @@ #endif //#define USE_GX_SCREEN -class SkCanvas; - +class SkSurface; class SkOSMenu; class SkWindow : public SkView { @@ -59,7 +58,7 @@ public: void preConcat(const SkMatrix&); void postConcat(const SkMatrix&); - virtual SkCanvas* createCanvas(); + virtual SkSurface* createSurface(); virtual void onPDFSaved(const char title[], const char desc[], const char path[]) {} |