| Index: tests/PathTest.cpp
|
| ===================================================================
|
| --- tests/PathTest.cpp (revision 7902)
|
| +++ tests/PathTest.cpp (working copy)
|
| @@ -290,7 +290,7 @@
|
| // 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 @@
|
| // 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 @@
|
|
|
| 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 @@
|
| }
|
|
|
| // 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;
|
|
|