remove extra parameter ctm in skPaint2GrPaintShader()

Comitted on behalf of Guanqun.Lu@gmail.com

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



git-svn-id: http://skia.googlecode.com/svn/trunk@3625 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
index 437efbd..c7bae34 100644
--- a/src/gpu/SkGpuDevice.cpp
+++ b/src/gpu/SkGpuDevice.cpp
@@ -501,7 +501,6 @@
 // same meaning as in skPaint2GrPaintNoShader.
 inline bool skPaint2GrPaintShader(SkGpuDevice* dev,
                                   const SkPaint& skPaint,
-                                  const SkMatrix& ctm,
                                   bool constantColor,
                                   SkGpuDevice::SkAutoCachedTexture* act,
                                   GrPaint* grPaint) {
@@ -604,7 +603,6 @@
     SkAutoCachedTexture act;
     if (!skPaint2GrPaintShader(this,
                                paint,
-                               *draw.fMatrix,
                                true,
                                &act,
                                &grPaint)) {
@@ -640,7 +638,6 @@
     SkAutoCachedTexture act;
     if (!skPaint2GrPaintShader(this,
                                paint,
-                               *draw.fMatrix,
                                true,
                                &act,
                                &grPaint)) {
@@ -702,7 +699,6 @@
     SkAutoCachedTexture act;
     if (!skPaint2GrPaintShader(this,
                                paint,
-                               *draw.fMatrix,
                                true,
                                &act,
                                &grPaint)) {
@@ -982,7 +978,6 @@
     SkAutoCachedTexture act;
     if (!skPaint2GrPaintShader(this,
                                paint,
-                               *draw.fMatrix,
                                true,
                                &act,
                                &grPaint)) {
@@ -1635,7 +1630,6 @@
     } else {
         if (!skPaint2GrPaintShader(this,
                                    paint,
-                                   *draw.fMatrix,
                                    NULL == colors,
                                    &act,
                                    &grPaint)) {
@@ -1740,7 +1734,6 @@
 
         if (!skPaint2GrPaintShader(this,
                                    paint,
-                                   *draw.fMatrix,
                                    true,
                                    &act,
                                    &grPaint)) {
@@ -1770,7 +1763,6 @@
         SkAutoCachedTexture act;
         if (!skPaint2GrPaintShader(this,
                                    paint,
-                                   *draw.fMatrix,
                                    true,
                                    &act,
                                    &grPaint)) {