Index: src/gpu/GrDrawTarget.h |
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h |
index 0c03e34041c1d2f654e4b6a2b37c9e35fbb48b8a..3d1a6431fb8359c5ece1440d10c11e04e7f7468a 100644 |
--- a/src/gpu/GrDrawTarget.h |
+++ b/src/gpu/GrDrawTarget.h |
@@ -398,22 +398,21 @@ public: |
* srcMatrix can be NULL when no srcMatrix is desired. |
*/ |
void drawRect(const SkRect& rect, |
- const SkMatrix* matrix, |
const SkRect* localRect, |
const SkMatrix* localMatrix) { |
AutoGeometryPush agp(this); |
- this->onDrawRect(rect, matrix, localRect, localMatrix); |
+ this->onDrawRect(rect, localRect, localMatrix); |
} |
/** |
* Helper for drawRect when the caller doesn't need separate local rects or matrices. |
*/ |
- void drawSimpleRect(const SkRect& rect, const SkMatrix* matrix = NULL) { |
- this->drawRect(rect, matrix, NULL, NULL); |
+ void drawSimpleRect(const SkRect& rect) { |
+ this->drawRect(rect, NULL, NULL); |
} |
- void drawSimpleRect(const SkIRect& irect, const SkMatrix* matrix = NULL) { |
+ void drawSimpleRect(const SkIRect& irect) { |
SkRect rect = SkRect::Make(irect); |
- this->drawRect(rect, matrix, NULL, NULL); |
+ this->drawRect(rect, NULL, NULL); |
} |
/** |
@@ -929,7 +928,6 @@ private: |
// drawIndexedInstances, ...). The base class draws a two triangle fan using |
// drawNonIndexed from reserved vertex space. |
virtual void onDrawRect(const SkRect& rect, |
- const SkMatrix* matrix, |
const SkRect* localRect, |
const SkMatrix* localMatrix); |