| Index: gm/imagemagnifier.cpp
|
| diff --git a/gm/imagemagnifier.cpp b/gm/imagemagnifier.cpp
|
| index a5f942d5ccbf96e0d1f7e0a19e56a124aa4d438f..f073e3305a8ff8a310ff32b9b05743b6325f61da 100644
|
| --- a/gm/imagemagnifier.cpp
|
| +++ b/gm/imagemagnifier.cpp
|
| @@ -50,7 +50,7 @@ protected:
|
| int x = rand.nextULessThan(WIDTH);
|
| int y = rand.nextULessThan(HEIGHT);
|
| paint.setColor(rand.nextBits(24) | 0xFF000000);
|
| - paint.setTextSize(rand.nextULessThan(300));
|
| + paint.setTextSize(rand.nextRangeScalar(0, 300));
|
| canvas->drawText(str, strlen(str), SkIntToScalar(x),
|
| SkIntToScalar(y), paint);
|
| }
|
|
|