Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Unified Diff: include/views/SkWindow.h

Issue 580073003: use surface in SkView/SampleApp (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | samplecode/SampleApp.h » ('j') | samplecode/SampleApp.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/views/SkWindow.h
diff --git a/include/views/SkWindow.h b/include/views/SkWindow.h
index 2a9315dc8c77c3b662e0a0af633c5883b38bdc43..d63208c6bcb6c81c967e8b8ce89ebda60f37066b 100644
--- a/include/views/SkWindow.h
+++ b/include/views/SkWindow.h
@@ -22,7 +22,7 @@
//#define USE_GX_SCREEN
robertphillips 2014/09/18 14:52:20 rm SkCanvas ?
reed1 2014/09/18 18:08:12 Done.
class SkCanvas;
-
+class SkSurface;
class SkOSMenu;
class SkWindow : public SkView {
@@ -59,7 +59,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[]) {}
« no previous file with comments | « no previous file | samplecode/SampleApp.h » ('j') | samplecode/SampleApp.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698