Index: src/image/SkSurface_Gpu.cpp |
diff --git a/src/image/SkSurface_Gpu.cpp b/src/image/SkSurface_Gpu.cpp |
index f7a31c009b3980c2810089040c2996e76f136395..2d5645b2b016d734b2c170881b8e7b276182d6ba 100644 |
--- a/src/image/SkSurface_Gpu.cpp |
+++ b/src/image/SkSurface_Gpu.cpp |
@@ -121,11 +121,9 @@ |
} |
SkSurface* SkSurface::NewRenderTarget(GrContext* ctx, Budgeted budgeted, const SkImageInfo& info, |
- int sampleCount, const SkSurfaceProps* props, |
- GrTextureStorageAllocator customAllocator) { |
- SkAutoTUnref<SkGpuDevice> device(SkGpuDevice::Create( |
- ctx, budgeted, info, sampleCount, props, SkGpuDevice::kClear_InitContents, |
- customAllocator)); |
+ int sampleCount, const SkSurfaceProps* props) { |
+ SkAutoTUnref<SkGpuDevice> device(SkGpuDevice::Create(ctx, budgeted, info, sampleCount, props, |
+ SkGpuDevice::kClear_InitContents)); |
if (!device) { |
return nullptr; |
} |