Fix for performance regression due to r3832

http://codereview.appspot.com/6188045/



git-svn-id: http://skia.googlecode.com/svn/trunk@3840 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp
index de49e8c..553bacc 100644
--- a/src/gpu/GrInOrderDrawBuffer.cpp
+++ b/src/gpu/GrInOrderDrawBuffer.cpp
@@ -469,7 +469,7 @@
 
         // GrInOrderDrawBuffer is no longer managing the refs/unrefs 
         // for the stored GrDrawStates
-        fStates[i].disableState(GrDrawState::kTexturesNeedRef_StateBit);
+        fStates[i].disableBehavior(GrDrawState::kTexturesNeedRef_BehaviorBit);
     }
     int numDraws = fDraws.count();
     for (int d = 0; d < numDraws; ++d) {
@@ -789,7 +789,7 @@
 
     // Any textures that are added to the stored state need to be
     // reffed so the unref in reset doesn't inappropriately free them
-    fStates.back().enableState(GrDrawState::kTexturesNeedRef_StateBit);
+    fStates.back().enableBehavior(GrDrawState::kTexturesNeedRef_BehaviorBit);
  }
 
 bool GrInOrderDrawBuffer::needsNewClip() const {