From e0e7cfe44bb9d66d76120a79e5275c294bacaa22 Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Mon, 9 Sep 2013 20:09:12 +0000 Subject: Change old PRG to be SkLCGRandom; change new one to SkRandom The goal here is to get people to start using the new random number generator, while leaving the old one in place so we don't have to rebaseline GMs. R=reed@google.com, bsalomon@google.com Author: jvanverth@google.com Review URL: https://chromiumcodereview.appspot.com/23576015 git-svn-id: http://skia.googlecode.com/svn/trunk@11169 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/MipMapTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/MipMapTest.cpp') diff --git a/tests/MipMapTest.cpp b/tests/MipMapTest.cpp index 5862d086c7..398827367a 100644 --- a/tests/MipMapTest.cpp +++ b/tests/MipMapTest.cpp @@ -10,7 +10,7 @@ #include "SkBitmap.h" #include "SkRandom.h" -static void make_bitmap(SkBitmap* bm, SkMWCRandom& rand) { +static void make_bitmap(SkBitmap* bm, SkRandom& rand) { // for now, Build needs a min size of 2, otherwise it will return NULL. // should fix that to support 1 X N, where N > 1 to return non-null. int w = 2 + rand.nextU() % 1000; @@ -22,7 +22,7 @@ static void make_bitmap(SkBitmap* bm, SkMWCRandom& rand) { static void TestMipMap(skiatest::Reporter* reporter) { SkBitmap bm; - SkMWCRandom rand; + SkRandom rand; for (int i = 0; i < 500; ++i) { make_bitmap(&bm, rand); -- cgit v1.2.3