diff options
Diffstat (limited to 'tests/PathTest.cpp')
| -rw-r--r-- | tests/PathTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp index a52e540f48..d8da95b23d 100644 --- a/tests/PathTest.cpp +++ b/tests/PathTest.cpp @@ -290,7 +290,7 @@ static void make_arb_round_rect(SkPath* path, const SkRect& r, // Note: PathBench::ArbRoundRectBench performs almost exactly // the same test (but with drawing) static void test_arb_round_rect_is_convex(skiatest::Reporter* reporter) { - SkRandom rand; + SkMWCRandom rand; SkRect r; for (int i = 0; i < 5000; ++i) { @@ -317,7 +317,7 @@ static void test_arb_round_rect_is_convex(skiatest::Reporter* reporter) { // Note: PathBench::ArbRoundRectBench performs almost exactly // the same test (but with drawing) static void test_arb_zero_rad_round_rect_is_rect(skiatest::Reporter* reporter) { - SkRandom rand; + SkMWCRandom rand; SkRect r; for (int i = 0; i < 5000; ++i) { @@ -452,7 +452,7 @@ DONE: static void test_addPoly(skiatest::Reporter* reporter) { SkPoint pts[32]; - SkRandom rand; + SkMWCRandom rand; for (size_t i = 0; i < SK_ARRAY_COUNT(pts); ++i) { pts[i].fX = rand.nextSScalar1(); @@ -1862,7 +1862,7 @@ static void test_raw_iter(skiatest::Reporter* reporter) { } // Max of 10 segments, max 3 points per segment - SkRandom rand(9876543); + SkMWCRandom rand(9876543); SkPoint expectedPts[31]; // May have leading moveTo SkPath::Verb expectedVerbs[22]; // May have leading moveTo SkPath::Verb nextVerb; |
