| Index: include/gpu/GrSurface.h
|
| diff --git a/include/gpu/GrSurface.h b/include/gpu/GrSurface.h
|
| index b01b6928ac49520557eb69cc3a2f2fc2a028b1e9..4d40e2e8142cfdbe9fe1a8a9e360370553610cb3 100644
|
| --- a/include/gpu/GrSurface.h
|
| +++ b/include/gpu/GrSurface.h
|
| @@ -160,17 +160,17 @@ protected:
|
|
|
| GrSurfaceDesc fDesc;
|
|
|
| + void onRelease() override;
|
| + void onAbandon() override;
|
| +
|
| +private:
|
| void invokeReleaseProc() {
|
| if (fReleaseProc) {
|
| fReleaseProc(fReleaseCtx);
|
| fReleaseProc = NULL;
|
| }
|
| }
|
| -
|
| - void onRelease() override;
|
| - void onAbandon() override;
|
| -
|
| -private:
|
| +
|
| ReleaseProc fReleaseProc;
|
| ReleaseCtx fReleaseCtx;
|
|
|
|
|