Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Unified Diff: src/utils/SkPathUtils.cpp

Issue 23576015: Change old PRG to be SkLCGRandom; change new one to SkRandom (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Fix some spurious SkMWCRandoms Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/gl/GrGLProgramDesc.h ('k') | tests/AAClipTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/SkPathUtils.cpp
diff --git a/src/utils/SkPathUtils.cpp b/src/utils/SkPathUtils.cpp
index 2e17ccb1d33a3d047d8994a3f8dc15e4807a4522..86b2f1043454226ac841d579aed02fc6d484042e 100644
--- a/src/utils/SkPathUtils.cpp
+++ b/src/utils/SkPathUtils.cpp
@@ -21,7 +21,7 @@ typedef void (*line2path)(SkPath*, const char*, int, int);
/*
static void FillRandomBits( int chars, char* bits ){
SkTime time;
- SkMWCRandom rand = SkMWCRandom( time.GetMSecs() );
+ SkRandom rand = SkRandom( time.GetMSecs() );
for (int i = 0; i < chars; ++i){
bits[i] = rand.nextU();
« no previous file with comments | « src/gpu/gl/GrGLProgramDesc.h ('k') | tests/AAClipTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698