Index: src/gpu/batches/GrTessellatingPathRenderer.cpp |
diff --git a/src/gpu/batches/GrTessellatingPathRenderer.cpp b/src/gpu/batches/GrTessellatingPathRenderer.cpp |
index 541254530880a96b2b8cf4248c7217309f172a43..ef6d2d229d60590de46bb57570a5634b68fc4b42 100644 |
--- a/src/gpu/batches/GrTessellatingPathRenderer.cpp |
+++ b/src/gpu/batches/GrTessellatingPathRenderer.cpp |
@@ -380,8 +380,9 @@ DRAW_BATCH_TEST_DEFINE(TesselatingPathBatch) { |
GrColor color = GrRandomColor(random); |
SkMatrix viewMatrix = GrTest::TestMatrixInvertible(random); |
SkPath path = GrTest::TestPath(random); |
- SkIRect devClipBounds = SkIRect::MakeXYWH( |
+ SkIRect devClipBounds = SkIRect::MakeLTRB( |
random->nextU(), random->nextU(), random->nextU(), random->nextU()); |
+ devClipBounds.sort(); |
bool antiAlias = random->nextBool(); |
GrStyle style; |
do { |