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

Unified Diff: gm/hittestpath.cpp

Issue 805963002: There can be only one (SkRandom)! (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase Created 6 years 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 | « gm/getpostextpath.cpp ('k') | gm/linepaths.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/hittestpath.cpp
diff --git a/gm/hittestpath.cpp b/gm/hittestpath.cpp
index d971db9282b1ff2852f9ea1c7b2cabc9ad2b4f43..caed98fc9521de1b95f06e028067606885706426 100644
--- a/gm/hittestpath.cpp
+++ b/gm/hittestpath.cpp
@@ -46,7 +46,7 @@ protected:
virtual void onDraw(SkCanvas* canvas) {
SkPath path;
- SkLCGRandom rand;
+ SkRandom rand;
int scale = 300;
for (int i = 0; i < 4; ++i) {
« no previous file with comments | « gm/getpostextpath.cpp ('k') | gm/linepaths.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698