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