aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/SortBench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/SortBench.cpp')
-rw-r--r--bench/SortBench.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/SortBench.cpp b/bench/SortBench.cpp
index 3e4637780d..c19ebae0c8 100644
--- a/bench/SortBench.cpp
+++ b/bench/SortBench.cpp
@@ -13,14 +13,14 @@
static const int N = 1000;
static void rand_proc(int array[], int count) {
- SkMWCRandom rand;
+ SkRandom rand;
for (int i = 0; i < count; ++i) {
array[i] = rand.nextS();
}
}
static void randN_proc(int array[], int count) {
- SkMWCRandom rand;
+ SkRandom rand;
int mod = N / 10;
for (int i = 0; i < count; ++i) {
array[i] = rand.nextU() % mod;