Index: src/effects/SkDiscretePathEffect.cpp |
diff --git a/src/effects/SkDiscretePathEffect.cpp b/src/effects/SkDiscretePathEffect.cpp |
index 2c95208aac9efb40f00cdd83b62f0debf71b835c..eece2eff8617d3aaa4abdf089176568c29af0130 100644 |
--- a/src/effects/SkDiscretePathEffect.cpp |
+++ b/src/effects/SkDiscretePathEffect.cpp |
@@ -31,7 +31,7 @@ bool SkDiscretePathEffect::filterPath(SkPath* dst, const SkPath& src, |
SkPathMeasure meas(src, doFill); |
uint32_t seed = SkScalarRound(meas.getLength()); |
- SkRandom rand(seed ^ ((seed << 16) | (seed >> 16))); |
+ SkLCGRandom rand(seed ^ ((seed << 16) | (seed >> 16))); |
SkScalar scale = fPerterb; |
SkPoint p; |
SkVector v; |