| Index: include/core/SkSurface.h
|
| diff --git a/include/core/SkSurface.h b/include/core/SkSurface.h
|
| index 57527ed33afa1640c44755737f48cd514fb913d5..07134514e7071fd33b398f70a2c0f7f89906b73a 100644
|
| --- a/include/core/SkSurface.h
|
| +++ b/include/core/SkSurface.h
|
| @@ -114,11 +114,12 @@ public:
|
| * Return a new surface whose contents will be drawn to an offscreen
|
| * render target, allocated by the surface.
|
| */
|
| - static SkSurface* NewRenderTarget(GrContext*, Budgeted, const SkImageInfo&, int sampleCount,
|
| - const SkSurfaceProps* = NULL);
|
| + static SkSurface* NewRenderTarget(
|
| + GrContext*, Budgeted, const SkImageInfo&, int sampleCount, const SkSurfaceProps* = NULL,
|
| + GrTextureStorageAllocator* = NULL);
|
|
|
| static SkSurface* NewRenderTarget(GrContext* gr, Budgeted b, const SkImageInfo& info) {
|
| - return NewRenderTarget(gr, b, info, 0, NULL);
|
| + return NewRenderTarget(gr, b, info, 0, NULL, NULL);
|
| }
|
|
|
| int width() const { return fWidth; }
|
|
|