Index: gm/ovals.cpp |
diff --git a/gm/ovals.cpp b/gm/ovals.cpp |
old mode 100755 |
new mode 100644 |
index ae727b9ef30249f05373eec67b227420114a4bc6..96e04885e3e7e5eda82849fa20a8d368be404acd |
--- a/gm/ovals.cpp |
+++ b/gm/ovals.cpp |
@@ -125,7 +125,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)); |
@@ -135,7 +135,7 @@ protected: |
} |
virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
- SkMWCRandom rand(1); |
+ SkRandom rand(1); |
canvas->translate(20 * SK_Scalar1, 20 * SK_Scalar1); |
SkRect oval = SkRect::MakeLTRB(-20, -30, 20, 30); |