aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/views
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-01 20:31:56 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-01 20:31:56 +0000
commit5957f47e8de0ff55b8c0bf84984d4915c7c72825 (patch)
treea752c4752d7cea27c3eaa47ca683320a67c9a9bd /include/views
parentb4773b4802236fab24cfc63ed8b9ed7eb35f65cc (diff)
retool so we don't need to call SkCanvas::setDevice
Review URL: https://codereview.appspot.com/6591054 git-svn-id: http://skia.googlecode.com/svn/trunk@5759 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/views')
-rw-r--r--include/views/SkWindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/views/SkWindow.h b/include/views/SkWindow.h
index 8ba0e806f6..f1d3881fe3 100644
--- a/include/views/SkWindow.h
+++ b/include/views/SkWindow.h
@@ -61,6 +61,8 @@ public:
void preConcat(const SkMatrix&);
void postConcat(const SkMatrix&);
+ virtual SkCanvas* createCanvas();
+
virtual void onPDFSaved(const char title[], const char desc[],
const char path[]) {}
protected: