Index: gm/convexpolyeffect.cpp |
diff --git a/gm/convexpolyeffect.cpp b/gm/convexpolyeffect.cpp |
index 294de5537ff64618bee8ea822f63f708533d7cd3..07d5fc2112f15a6bcf0f6d945f00ee0e865d3a9e 100644 |
--- a/gm/convexpolyeffect.cpp |
+++ b/gm/convexpolyeffect.cpp |
@@ -42,7 +42,7 @@ public: |
private: |
ConvexPolyTestBatch(const GrGeometryProcessor* gp, const Geometry& geo) |
- : INHERITED(gp) |
+ : INHERITED(gp, geo.fBounds) |
, fGeometry(geo) { |
} |
@@ -211,7 +211,7 @@ protected: |
SkAutoTUnref<GrBatch> batch(ConvexPolyTestBatch::Create(gp, geometry)); |
- tt.target()->drawBatch(&pipelineBuilder, batch, NULL); |
+ tt.target()->drawBatch(&pipelineBuilder, batch); |
x += SkScalarCeilToScalar(path->getBounds().width() + 10.f); |
} |
@@ -260,7 +260,7 @@ protected: |
SkAutoTUnref<GrBatch> batch(ConvexPolyTestBatch::Create(gp, geometry)); |
- tt.target()->drawBatch(&pipelineBuilder, batch, NULL); |
+ tt.target()->drawBatch(&pipelineBuilder, batch); |
x += SkScalarCeilToScalar(rect.width() + 10.f); |
} |