Index: tests/DFPathRendererTest.cpp |
diff --git a/tests/DFPathRendererTest.cpp b/tests/DFPathRendererTest.cpp |
index 561ec45629721cb5ba85064ab4000fa12a5f2101..a6163994066b3f7a11b398a495add46dfbcead95 100644 |
--- a/tests/DFPathRendererTest.cpp |
+++ b/tests/DFPathRendererTest.cpp |
@@ -21,6 +21,9 @@ static void test_far_from_origin(GrDrawContext* drawContext, GrPathRenderer* pr, |
GrResourceProvider* rp) { |
SkPath path; |
path.lineTo(49.0255089839f, 0.473541f); |
+ // This extra line wasn't in the original bug but was added to fake out GrShape's special |
+ // handling of single line segments. |
+ path.rLineTo(0.015f, 0.015f); |
static constexpr SkScalar mvals[] = {14.0348252854f, 2.13026182736f, |
13.6122547187f, 118.309922702f, |
1912337682.09f, 2105391889.87f}; |