Index: include/core/SkSurface.h |
diff --git a/include/core/SkSurface.h b/include/core/SkSurface.h |
index 019bf216ce40b3c017405ecfad58452b23458a17..aa1e2cc2bbc9c76337ec324cae6868c090985fc2 100644 |
--- a/include/core/SkSurface.h |
+++ b/include/core/SkSurface.h |
@@ -24,6 +24,9 @@ class GrRenderTarget; |
* |
* To draw into a canvas, first create the appropriate type of Surface, and |
* then request the canvas from the surface. |
+ * |
+ * SkSurface always has non-zero dimensions. If there is a request for a new surface, and either |
+ * of the requested dimensions are zero, then NULL will be returned. |
*/ |
class SK_API SkSurface : public SkRefCnt { |
public: |