From 0397e9f3415b4646797f1b17e9a38b5deb864ff0 Mon Sep 17 00:00:00 2001 From: reed Date: Thu, 18 Sep 2014 11:29:01 -0700 Subject: use surface in SkView/SampleApp BUG=skia: R=bsalomon@google.com, robertphillips@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/580073003 --- include/views/SkWindow.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/views') 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[]) {} -- cgit v1.2.3