Fixed Resource counting bug in AutoScratchTexture detach mechanism

http://codereview.appspot.com/6356043/



git-svn-id: http://skia.googlecode.com/svn/trunk@4361 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrResourceCache.h b/src/gpu/GrResourceCache.h
index 525c67e..24f2b8f 100644
--- a/src/gpu/GrResourceCache.h
+++ b/src/gpu/GrResourceCache.h
@@ -316,13 +316,14 @@
     size_t fEntryBytes;
     int fClientDetachedCount;
     size_t fClientDetachedBytes;
-    
+
     // prevents recursive purging
     bool fPurging;
 
     GrResourceEntry* create(const GrResourceKey& key,
                             GrResource* resource,
-                            bool lock);
+                            bool lock,
+                            bool clientReattach);
 
 };