Index: src/gpu/GrDrawTarget.h |
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h |
index c75bba2a108e7dec1f1c0f50d71c82cdfa196fbe..6a1cc021338a446f95e7a3b61a6b87f9cac1ca18 100644 |
--- a/src/gpu/GrDrawTarget.h |
+++ b/src/gpu/GrDrawTarget.h |
@@ -362,7 +362,7 @@ public: |
this->drawRect(rect, matrix, NULL, NULL); |
} |
void drawSimpleRect(const SkIRect& irect, const SkMatrix* matrix = NULL) { |
- SkRect rect = SkRect::MakeFromIRect(irect); |
+ SkRect rect = SkRect::Make(irect); |
this->drawRect(rect, matrix, NULL, NULL); |
} |