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

Unified Diff: include/core/SkCanvas.h

Issue 233943002: remove picture-backed surfaces (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rebase Created 6 years, 8 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 | « gyp/core.gypi ('k') | include/core/SkSurface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkCanvas.h
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index 4d9c462b73c36ab5a506e5eb07ed20da570c30ab..a4d8ab69f7335b9d0075e42ef37cff18eb498842 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -189,7 +189,8 @@ public:
/**
* Create a new surface matching the specified info, one that attempts to
- * be maximally compatible when used with this canvas.
+ * be maximally compatible when used with this canvas. If there is no matching Surface type,
+ * NULL is returned.
*/
SkSurface* newSurface(const SkImageInfo&);
« no previous file with comments | « gyp/core.gypi ('k') | include/core/SkSurface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698