Index: gm/circles.cpp |
diff --git a/gm/circles.cpp b/gm/circles.cpp |
index f57463954cac7835dc1a8573a8c95be479307e13..3cd07f29a1d1b69b71eeed4297ab0a208d35b5a0 100644 |
--- a/gm/circles.cpp |
+++ b/gm/circles.cpp |
@@ -152,9 +152,8 @@ protected: |
} |
virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
- SkRandom rand; |
+ SkLCGRandom rand; |
canvas->translate(20 * SK_Scalar1, 20 * SK_Scalar1); |
- |
int i; |
for (i = 0; i < fPaints.count(); ++i) { |
canvas->save(); |
@@ -206,3 +205,4 @@ static GM* MyFactory(void*) { return new CircleGM; } |
static GMRegistry reg(MyFactory); |
} |
+ |