Index: tests/PathTest.cpp |
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp |
index ed80d41aa2f4c999f02a8a4513ec989085ed060d..080ce285e03942275ac194263d5dc7ae03b5b1d1 100644 |
--- a/tests/PathTest.cpp |
+++ b/tests/PathTest.cpp |
@@ -426,7 +426,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) { |
- SkMWCRandom rand; |
+ SkRandom rand; |
SkRect r; |
for (int i = 0; i < 5000; ++i) { |
@@ -453,7 +453,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) { |
- SkMWCRandom rand; |
+ SkRandom rand; |
SkRect r; |
for (int i = 0; i < 5000; ++i) { |
@@ -592,7 +592,7 @@ DONE: |
static void test_addPoly(skiatest::Reporter* reporter) { |
SkPoint pts[32]; |
- SkMWCRandom rand; |
+ SkRandom rand; |
for (size_t i = 0; i < SK_ARRAY_COUNT(pts); ++i) { |
pts[i].fX = rand.nextSScalar1(); |
@@ -2035,7 +2035,7 @@ static void test_raw_iter(skiatest::Reporter* reporter) { |
} |
// Max of 10 segments, max 3 points per segment |
- SkMWCRandom rand(9876543); |
+ SkRandom rand(9876543); |
SkPoint expectedPts[31]; // May have leading moveTo |
SkPath::Verb expectedVerbs[22]; // May have leading moveTo |
SkPath::Verb nextVerb; |