diff options
author | reed <reed@google.com> | 2014-09-18 11:29:01 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-18 11:29:01 -0700 |
commit | 0397e9f3415b4646797f1b17e9a38b5deb864ff0 (patch) | |
tree | 4196fc5ddf00a1f267c4be1415d897e6160931d6 /include/views | |
parent | 9b222a5ddd3b39ca191d8443bade6052cdcb713d (diff) |
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
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[]) {} |