privatize
BUG=skia: TBR=bsalomon@google.com Review URL: https://codereview.chromium.org/1189173005
This commit is contained in:
parent
5599996b72
commit
35a5261085
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user