privatize
authorreed <reed@google.com>
Thu, 18 Jun 2015 21:05:07 +0000 (14:05 -0700)
committerCommit 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

index b01b6928ac49520557eb69cc3a2f2fc2a028b1e9..4d40e2e8142cfdbe9fe1a8a9e360370553610cb3 100644 (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;