Update shader rect drawing path for r9087 (removal of isIRect "opt")

https://codereview.chromium.org/14972013/

(SkipBuildbotRuns)



git-svn-id: http://skia.googlecode.com/svn/trunk@9089 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/include/gpu/GrAARectRenderer.h b/include/gpu/GrAARectRenderer.h
index b76722d..0dd538e 100644
--- a/include/gpu/GrAARectRenderer.h
+++ b/include/gpu/GrAARectRenderer.h
@@ -11,11 +11,11 @@
 
 #include "GrRect.h"
 #include "GrRefCnt.h"
+#include "SkMatrix.h"
 
 class GrGpu;
 class GrDrawTarget;
 class GrIndexBuffer;
-class SkMatrix;
 
 /*
  * This class wraps helper functions that draw AA rects (filled & stroked)
@@ -46,10 +46,10 @@
 #ifdef SHADER_AA_FILL_RECT
         if (combinedMatrix.rectStaysRect()) {
             this->shaderFillAlignedAARect(gpu, target,
-                                          combinedMatrix, devRect);
+                                          rect, combinedMatrix);
         } else {
             this->shaderFillAARect(gpu, target,
-                                   rect, combinedMatrix, devRect);
+                                   rect, combinedMatrix);
         }
 #else
         this->geometryFillAARect(gpu, target,
@@ -85,14 +85,12 @@
     void shaderFillAARect(GrGpu* gpu,
                           GrDrawTarget* target,
                           const GrRect& rect,
-                          const SkMatrix& combinedMatrix,
-                          const GrRect& devRect);
+                          const SkMatrix& combinedMatrix);
 
     void shaderFillAlignedAARect(GrGpu* gpu,
                                  GrDrawTarget* target,
                                  const GrRect& rect,
-                                 const SkMatrix& combinedMatrix,
-                                 const GrRect& devRect);
+                                 const SkMatrix& combinedMatrix);
 
     typedef GrRefCnt INHERITED;
 };