Index: src/gpu/batches/GrDrawPathBatch.h |
diff --git a/src/gpu/batches/GrDrawPathBatch.h b/src/gpu/batches/GrDrawPathBatch.h |
index 39c729fa28662b0047f390d1d89874d0bd2a9619..2c166c14c9276a31264798fa6b23293dd4189c3d 100644 |
--- a/src/gpu/batches/GrDrawPathBatch.h |
+++ b/src/gpu/batches/GrDrawPathBatch.h |
@@ -148,8 +148,9 @@ public: |
// This can't return a more abstract type because we install the stencil settings late :( |
static GrDrawPathBatchBase* Create(const SkMatrix& viewMatrix, const SkMatrix& localMatrix, |
- GrColor color, GrPathRange* range, GrPathRangeDraw* draw) { |
- return new GrDrawPathRangeBatch(viewMatrix, localMatrix, color, range, draw); |
+ GrColor color, GrPathRange* range, GrPathRangeDraw* draw, |
+ const SkRect& bounds) { |
+ return new GrDrawPathRangeBatch(viewMatrix, localMatrix, color, range, draw, bounds); |
} |
~GrDrawPathRangeBatch() override; |
@@ -162,7 +163,7 @@ private: |
inline bool isWinding() const; |
GrDrawPathRangeBatch(const SkMatrix& viewMatrix, const SkMatrix& localMatrix, GrColor color, |
- GrPathRange* range, GrPathRangeDraw* draw); |
+ GrPathRange* range, GrPathRangeDraw* draw, const SkRect& bounds); |
bool onCombineIfPossible(GrBatch* t, const GrCaps& caps) override; |