projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5599996
)
privatize
author
reed
<reed@google.com>
Thu, 18 Jun 2015 21:05:07 +0000
(14:05 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Thu, 18 Jun 2015 21:05:07 +0000
(14:05 -0700)
BUG=skia:
TBR=bsalomon@google.com
Review URL: https://codereview.chromium.org/
1189173005
include/gpu/GrSurface.h
patch
|
blob
|
history
diff --git
a/include/gpu/GrSurface.h
b/include/gpu/GrSurface.h
index b01b6928ac49520557eb69cc3a2f2fc2a028b1e9..4d40e2e8142cfdbe9fe1a8a9e360370553610cb3 100644
(file)
--- 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;