aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleText.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samplecode/SampleText.cpp')
-rw-r--r--samplecode/SampleText.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/samplecode/SampleText.cpp b/samplecode/SampleText.cpp
index b4091ff328..c6aaa52a0b 100644
--- a/samplecode/SampleText.cpp
+++ b/samplecode/SampleText.cpp
@@ -135,7 +135,7 @@ static void test_breakText() {
SkASSERT(mm == width);
}
-static SkMWCRandom gRand;
+static SkRandom gRand;
class SkPowerMode : public SkXfermode {
public:
@@ -287,7 +287,7 @@ protected:
canvas.drawText(s, strlen(s), SkIntToScalar(8), SkIntToScalar(14), paint);
}
- static void fill_pts(SkPoint pts[], size_t n, SkMWCRandom* rand) {
+ static void fill_pts(SkPoint pts[], size_t n, SkRandom* rand) {
for (size_t i = 0; i < n; i++)
pts[i].set(rand->nextUScalar1() * 640, rand->nextUScalar1() * 480);
}