Index: samplecode/SampleCull.cpp |
diff --git a/samplecode/SampleCull.cpp b/samplecode/SampleCull.cpp |
index e6b110a96ad4858066f1e89d5209f71bb23bb619..18f2d0cc409293f4eddfa80f6d618ca114cf1ed9 100644 |
--- a/samplecode/SampleCull.cpp |
+++ b/samplecode/SampleCull.cpp |
@@ -96,7 +96,7 @@ FINISHED2: |
return array; |
} |
-static SkScalar nextScalarRange(SkMWCRandom& rand, SkScalar min, SkScalar max) { |
+static SkScalar nextScalarRange(SkRandom& rand, SkScalar min, SkScalar max) { |
return min + SkScalarMul(rand.nextUScalar1(), max - min); |
} |
@@ -105,7 +105,7 @@ public: |
CullView() { |
fClip.set(0, 0, SkIntToScalar(160), SkIntToScalar(160)); |
- SkMWCRandom rand; |
+ SkRandom rand; |
for (int i = 0; i < 50; i++) { |
SkScalar x = nextScalarRange(rand, -fClip.width()*1, fClip.width()*2); |