| Index: gm/circles.cpp
|
| diff --git a/gm/circles.cpp b/gm/circles.cpp
|
| index 2c9368be92fc7b01eb6f67e89eace17c7162c4f7..6fa682c26605229041de9eb11bb400408a57f47f 100644
|
| --- a/gm/circles.cpp
|
| +++ b/gm/circles.cpp
|
| @@ -156,7 +156,6 @@ protected:
|
| }
|
|
|
| virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE {
|
| - SkLCGRandom rand;
|
| // Draw a giant AA circle as the background.
|
| SkISize size = this->getISize();
|
| SkScalar giantRadius = SkTMin(SkIntToScalar(size.fWidth),
|
| @@ -168,6 +167,7 @@ protected:
|
| giantPaint.setColor(0x80808080);
|
| canvas->drawCircle(giantCenter.fX, giantCenter.fY, giantRadius, giantPaint);
|
|
|
| + SkRandom rand;
|
| canvas->translate(20 * SK_Scalar1, 20 * SK_Scalar1);
|
| int i;
|
| for (i = 0; i < fPaints.count(); ++i) {
|
|
|