privatize

BUG=skia:
TBR=bsalomon@google.com

Review URL: https://codereview.chromium.org/1189173005
This commit is contained in:
reed 2015-06-18 14:05:07 -07:00 committed by Commit bot
parent 5599996b72
commit 35a5261085

View File

@ -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;