aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/circles.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/circles.cpp')
-rw-r--r--gm/circles.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/circles.cpp b/gm/circles.cpp
index f57463954c..3cd07f29a1 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);
}
+