Consolidate stroke-rect ops and use GrFillRectOp instead of GrNonAA/AARectOp

Bug: skia:
Change-Id: Iee57bc970a026de2ad5a0758153e9cbb20753fa1
Reviewed-on: https://skia-review.googlesource.com/c/173105
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
diff --git a/tests/PathRendererCacheTests.cpp b/tests/PathRendererCacheTests.cpp
index ae81b69..4b7f969 100644
--- a/tests/PathRendererCacheTests.cpp
+++ b/tests/PathRendererCacheTests.cpp
@@ -138,9 +138,9 @@
         return new GrSoftwarePathRenderer(ctx->contextPriv().proxyProvider(), true);
     };
 
-    // Software path renderer creates a mask texture, but also renders with a non-AA rect, which
-    // refs the quad index buffer.
-    const int kExpectedResources = 2;
+    // Software path renderer creates a mask texture and renders with a non-AA rect, but the flush
+    // only contains a single quad so GrFillRectOp doesn't need to use the shared index buffer.
+    const int kExpectedResources = 1;
 
     test_path(reporter, create_concave_path, createPR, kExpectedResources, GrAAType::kCoverage);