| Index: include/gpu/GrSurface.h
|
| diff --git a/include/gpu/GrSurface.h b/include/gpu/GrSurface.h
|
| index 28935009ce8caee78187405c3b50616d7d2e9aed..ea4fa707241bd7644c285b9e04fee81a394d1980 100644
|
| --- a/include/gpu/GrSurface.h
|
| +++ b/include/gpu/GrSurface.h
|
| @@ -103,7 +103,7 @@ public:
|
| * @return true if the read succeeded, false if not. The read can fail because of an unsupported
|
| * pixel config.
|
| */
|
| - bool writePixels(int left, int top, int width, int height,
|
| + bool writePixels(GrDrawContext* dc, int left, int top, int width, int height,
|
| GrPixelConfig config,
|
| const void* buffer,
|
| size_t rowBytes = 0,
|
| @@ -147,7 +147,7 @@ protected:
|
| friend class GrSurfacePriv;
|
|
|
| GrSurface(GrGpu* gpu, LifeCycle lifeCycle, const GrSurfaceDesc& desc)
|
| - : INHERITED(gpu, lifeCycle)
|
| + : INHERITED(gpu, lifeCycle, GrGpuResource::kSurface)
|
| , fDesc(desc)
|
| , fReleaseProc(NULL)
|
| , fReleaseCtx(NULL)
|
|
|