Rolling back 4053



git-svn-id: http://skia.googlecode.com/svn/trunk@4054 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index 470741e..c9c15df 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -857,13 +857,8 @@
     }
     
     ~GrAutoScratchTexture() {
-        this->reset();
-    }
-
-    void reset() {
         if (NULL != fContext) {
             fContext->unlockTexture(fEntry);
-            fEntry.reset();
         }
     }
 
@@ -871,8 +866,10 @@
                    const GrTextureDesc& desc,
                    GrContext::ScratchTexMatch match =
                         GrContext::kApprox_ScratchTexMatch) {
-        this->reset();
-
+        if (NULL != fContext) {
+            fContext->unlockTexture(fEntry);
+            fEntry.reset();
+        }
         fContext = context;
         if (NULL != fContext) {
             fEntry = fContext->lockScratchTexture(desc, match);