Index: gm/polygons.cpp |
diff --git a/gm/polygons.cpp b/gm/polygons.cpp |
index 56b2e97cebdc2f420fe0439f49b3f94ce7272223..1d639780fd8f0be4dddfbfe8762bc006457d084e 100644 |
--- a/gm/polygons.cpp |
+++ b/gm/polygons.cpp |
@@ -88,7 +88,7 @@ protected: |
canvas->translate(x, y); |
} |
- static void SetColorAndAlpha(SkPaint* paint, SkLCGRandom* rand) { |
+ static void SetColorAndAlpha(SkPaint* paint, SkRandom* rand) { |
SkColor color = rand->nextU(); |
color |= 0xff000000; |
paint->setColor(color); |
@@ -113,7 +113,7 @@ protected: |
SkPaint paint; |
paint.setAntiAlias(true); |
- SkLCGRandom rand; |
+ SkRandom rand; |
// For stroke style painter |
paint.setStyle(SkPaint::kStroke_Style); |
for (int join = 0; join < kNumJoins; ++join) { |