Index: tests/DashPathEffectTest.cpp |
diff --git a/tests/DashPathEffectTest.cpp b/tests/DashPathEffectTest.cpp |
index 6639ec7b400170db8595a2998bf05405df1852af..f55bcf8a850c61546d622230a59277878de691eb 100644 |
--- a/tests/DashPathEffectTest.cpp |
+++ b/tests/DashPathEffectTest.cpp |
@@ -18,7 +18,7 @@ |
SkScalar intervals[] = { 1.76934361e+36f, 2.80259693e-45f }; // Values from bug. |
const int count = 2; |
SkScalar phase = SK_ScalarInfinity; // Used to force the bad fInitialDashLength = -1 path. |
- SkAutoTUnref<SkDashPathEffect> dash(SkDashPathEffect::Create(intervals, count, phase)); |
+ SkAutoTUnref<SkPathEffect> dash(SkDashPathEffect::Create(intervals, count, phase)); |
// nullptr -> refuses to work with flattening framework. |
REPORTER_ASSERT(r, dash->getFactory() != nullptr); |
@@ -33,7 +33,7 @@ |
const SkScalar intervals[] = { 1.0f, 1.0f }; |
const int count = 2; |
- SkAutoTUnref<SkDashPathEffect> dash(SkDashPathEffect::Create(intervals, count, 0.0f)); |
+ SkAutoTUnref<SkPathEffect> dash(SkDashPathEffect::Create(intervals, count, 0.0f)); |
SkRect cull = SkRect::MakeWH(1.0f, 1.0f); |