Batch consecutive draw rects.

Review URL: http://codereview.appspot.com/4178057/

git-svn-id: http://skia.googlecode.com/svn/trunk@800 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/include/GrGeometryBuffer.h b/gpu/include/GrGeometryBuffer.h
index fc3e358..af6eed5 100644
--- a/gpu/include/GrGeometryBuffer.h
+++ b/gpu/include/GrGeometryBuffer.h
@@ -31,7 +31,7 @@
      *

      * @return the size of the buffer in bytes

      */

-    size_t size() { return fSizeInBytes; }

+    size_t size() const { return fSizeInBytes; }

     

     /**

      *Retrieves whether the buffer was created with the dynamic flag

@@ -107,9 +107,9 @@
         fDynamic(dynamic) {}

 

 private:

-    size_t fSizeInBytes;

+    size_t   fSizeInBytes;

     bool     fDynamic;

-    

+

     typedef GrRefCnt INHERITED;

 };