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

Unified Diff: android_webview/browser/global_tile_manager_unittest.cc

Issue 545663002: Cleanups in GlobalTileManager and BrowserViewRenderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: just cleanups Created 6 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 | « android_webview/browser/global_tile_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/global_tile_manager_unittest.cc
diff --git a/android_webview/browser/global_tile_manager_unittest.cc b/android_webview/browser/global_tile_manager_unittest.cc
index 9f090842f033b08992b80bcc5e44f5ece59fb618..bd968896072a308e8caf3c051f05a926c0b568a2 100644
--- a/android_webview/browser/global_tile_manager_unittest.cc
+++ b/android_webview/browser/global_tile_manager_unittest.cc
@@ -90,6 +90,8 @@ TEST_F(GlobalTileManagerTest, RandomizedStressRequests) {
index[i] = i;
}
+ // Fix the seed so that tests are reproducible.
+ std::srand(1);
// Simulate a random request order of clients.
std::random_shuffle(&index[0], &index[99]);
« no previous file with comments | « android_webview/browser/global_tile_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698