Index: include/core/SkSurface.h |
diff --git a/include/core/SkSurface.h b/include/core/SkSurface.h |
index 45262d78e63d3d30351c43ccd22ae3c2442ad0a3..52097be66edcd6a16a6aea9ad5174b7581c71aa9 100644 |
--- a/include/core/SkSurface.h |
+++ b/include/core/SkSurface.h |
@@ -120,16 +120,12 @@ |
/** |
* Return a new surface whose contents will be drawn to an offscreen |
* render target, allocated by the surface. |
- * |
- * The GrTextureStorageAllocator will be reused if SkImage snapshots create |
- * additional textures. |
- */ |
- static SkSurface* NewRenderTarget( |
- GrContext*, Budgeted, const SkImageInfo&, int sampleCount, const SkSurfaceProps* = NULL, |
- GrTextureStorageAllocator = GrTextureStorageAllocator()); |
+ */ |
+ static SkSurface* NewRenderTarget(GrContext*, Budgeted, const SkImageInfo&, int sampleCount, |
+ const SkSurfaceProps* = NULL); |
static SkSurface* NewRenderTarget(GrContext* gr, Budgeted b, const SkImageInfo& info) { |
- return NewRenderTarget(gr, b, info, 0); |
+ return NewRenderTarget(gr, b, info, 0, NULL); |
} |
int width() const { return fWidth; } |