From d63f60a36327e9580861205ebb35cade8c49bd34 Mon Sep 17 00:00:00 2001 From: reed Date: Sun, 20 Dec 2015 19:38:20 -0800 Subject: change all factories to return their base-class will watch DEPS roll to see if there are chrome sites needing updates BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1535353002 TBR= Review URL: https://codereview.chromium.org/1535353002 --- tests/DrawPathTest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/DrawPathTest.cpp') diff --git a/tests/DrawPathTest.cpp b/tests/DrawPathTest.cpp index e5d50d33d7..721b030477 100644 --- a/tests/DrawPathTest.cpp +++ b/tests/DrawPathTest.cpp @@ -192,7 +192,7 @@ static void test_crbug_140642() { */ const SkScalar vals[] = { 27734, 35660, 2157846850.0f, 247 }; - SkAutoTUnref dontAssert(SkDashPathEffect::Create(vals, 4, -248.135982067f)); + SkAutoTUnref dontAssert(SkDashPathEffect::Create(vals, 4, -248.135982067f)); } static void test_crbug_124652() { @@ -202,7 +202,7 @@ static void test_crbug_124652() { large values can "swamp" small ones. */ SkScalar intervals[2] = {837099584, 33450}; - SkAutoTUnref dash(SkDashPathEffect::Create(intervals, 2, -10)); + SkAutoTUnref dash(SkDashPathEffect::Create(intervals, 2, -10)); } static void test_bigcubic() { @@ -242,7 +242,7 @@ static void test_infinite_dash(skiatest::Reporter* reporter) { path.lineTo(5000000, 0); SkScalar intervals[] = { 0.2f, 0.2f }; - SkAutoTUnref dash(SkDashPathEffect::Create(intervals, 2, 0)); + SkAutoTUnref dash(SkDashPathEffect::Create(intervals, 2, 0)); SkPath filteredPath; SkPaint paint; @@ -262,7 +262,7 @@ static void test_crbug_165432(skiatest::Reporter* reporter) { path.lineTo(10000000, 0); SkScalar intervals[] = { 0.5f, 0.5f }; - SkAutoTUnref dash(SkDashPathEffect::Create(intervals, 2, 0)); + SkAutoTUnref dash(SkDashPathEffect::Create(intervals, 2, 0)); SkPaint paint; paint.setStyle(SkPaint::kStroke_Style); -- cgit v1.2.3