Index: samplecode/SampleText.cpp |
diff --git a/samplecode/SampleText.cpp b/samplecode/SampleText.cpp |
index b4091ff328efc50d6a35a2254b76bf0ffb92ad3a..c6aaa52a0b11f76e3823104be4b9e26406b7972f 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); |
} |