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

Unified Diff: tests/InfRectTest.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 | « tests/GrMemoryPoolTest.cpp ('k') | tests/LListTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/InfRectTest.cpp
diff --git a/tests/InfRectTest.cpp b/tests/InfRectTest.cpp
index 95ef4be3efac1c8dc850efc7df428f16b8e47208..4d957dcf75ce8f336e11346def6ba57047147ca3 100644
--- a/tests/InfRectTest.cpp
+++ b/tests/InfRectTest.cpp
@@ -35,7 +35,7 @@ static void test_center(skiatest::Reporter* reporter) {
gData[index].fRect.centerY() == gData[index].fCenter.y());
}
- SkMWCRandom rand;
+ SkRandom rand;
for (int i = 0; i < 10000; ++i) {
SkIRect r;
« no previous file with comments | « tests/GrMemoryPoolTest.cpp ('k') | tests/LListTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698