Index: gm/roundrects.cpp |
diff --git a/gm/roundrects.cpp b/gm/roundrects.cpp |
index c309b2a931fb8d6ee0b0adbbc8f3b2346b69aac3..3f1c49ebdd7974ae57bd6873de63b9f08d5d0e2c 100644 |
--- a/gm/roundrects.cpp |
+++ b/gm/roundrects.cpp |
@@ -126,7 +126,7 @@ protected: |
} |
} |
- SkColor genColor(SkMWCRandom* rand) { |
+ SkColor genColor(SkRandom* rand) { |
SkScalar hsv[3]; |
hsv[0] = SkFloatToScalar(rand->nextRangeF(0.0f, 360.0f)); |
hsv[1] = SkFloatToScalar(rand->nextRangeF(0.75f, 1.0f)); |
@@ -136,7 +136,7 @@ protected: |
} |
virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
- SkMWCRandom rand(1); |
+ SkRandom rand(1); |
canvas->translate(20 * SK_Scalar1, 20 * SK_Scalar1); |
SkRect rect = SkRect::MakeLTRB(-20, -30, 20, 30); |
SkRRect circleRect; |