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

Unified Diff: Source/wtf/RandomNumberSeed.h

Issue 14178012: Remove the USE(OS_RANDOMNESS) guard. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 8 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 | « Source/wtf/RandomNumber.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/RandomNumberSeed.h
diff --git a/Source/wtf/RandomNumberSeed.h b/Source/wtf/RandomNumberSeed.h
index f1d46c8f5a4decb35ac15a06b605864508661873..1cdd5f38d9782476908e1743af345b7d8dce9214 100644
--- a/Source/wtf/RandomNumberSeed.h
+++ b/Source/wtf/RandomNumberSeed.h
@@ -56,10 +56,6 @@ inline void initializeRandomNumberGenerator()
srand(static_cast<unsigned>(time(0)));
#endif
-#if !USE(OS_RANDOMNESS)
- uint64_t seed = static_cast<uint64_t>(rand()) << 32 | static_cast<uint64_t>(rand());
- Internal::initializeRandomNumber(seed);
-#endif
}
}
« no previous file with comments | « Source/wtf/RandomNumber.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698