Index: include/core/SkDevice.h |
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h |
index 250a6a3d560c56668ba414746374e7226e76a736..7c83f448d44a76dfa896e9258633ae31fe914143 100644 |
--- a/include/core/SkDevice.h |
+++ b/include/core/SkDevice.h |
@@ -367,6 +367,9 @@ protected: |
static const SkCanvas::Config8888 kPMColorAlias; |
protected: |
+ // default impl returns NULL |
+ virtual SkSurface* newSurface(const SkImageInfo&); |
+ |
/** |
* Leaky properties are those which the device should be applying but it isn't. |
* These properties will be applied by the draw, when and as it can. |
@@ -382,6 +385,7 @@ private: |
friend class SkDrawIter; |
friend class SkDeviceFilteredPaint; |
friend class SkDeviceImageFilterProxy; |
+ friend class DeferredDevice; // for newSurface |
friend class SkSurface_Raster; |