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

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') | no next file with comments »
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..40cc5ecb31d5a8179d549a018e5ee773a2626264 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[]) {}
« no previous file with comments | « no previous file | samplecode/SampleApp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698