Index: bench/PictureRecordBench.cpp |
diff --git a/bench/PictureRecordBench.cpp b/bench/PictureRecordBench.cpp |
index 1ba3cb3166e30e2dc15c355aab4fc6e3d0a8480a..f23f0cb961187dabd406e7f83abf036a124d874d 100644 |
--- a/bench/PictureRecordBench.cpp |
+++ b/bench/PictureRecordBench.cpp |
@@ -143,7 +143,7 @@ public: |
protected: |
virtual float innerLoopScale() const SK_OVERRIDE { return 0.1f; } |
virtual void recordCanvas(SkCanvas* canvas) { |
- SkMWCRandom rand; |
+ SkRandom rand; |
for (int i = 0; i < M; i++) { |
SkPaint paint; |
paint.setColor(rand.nextU()); |
@@ -167,7 +167,7 @@ class RecurringPaintDictionaryRecordBench : public PictureRecordBench { |
public: |
RecurringPaintDictionaryRecordBench(void* param) |
: INHERITED(param, "recurring_paint_dictionary") { |
- SkMWCRandom rand; |
+ SkRandom rand; |
for (int i = 0; i < ObjCount; i++) { |
fPaint[i].setColor(rand.nextU()); |
} |