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

Unified Diff: Source/wtf/RandomNumberSeed.h

Issue 13901012: Remove OS(WINCE) as blink and chromium does not support WinCe. (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
Index: Source/wtf/RandomNumberSeed.h
diff --git a/Source/wtf/RandomNumberSeed.h b/Source/wtf/RandomNumberSeed.h
index 8462ca9072c0da908bbeb6236a561eccd76d8d36..f1d46c8f5a4decb35ac15a06b605864508661873 100644
--- a/Source/wtf/RandomNumberSeed.h
+++ b/Source/wtf/RandomNumberSeed.h
@@ -45,9 +45,6 @@ inline void initializeRandomNumberGenerator()
{
#if OS(DARWIN)
// On Darwin we use arc4random which initialises itself.
-#elif OS(WINCE)
- // initialize rand()
- srand(GetTickCount());
#elif COMPILER(MSVC) && defined(_CRT_RAND_S)
// On Windows we use rand_s which initialises itself
#elif OS(UNIX)

Powered by Google App Engine
This is Rietveld 408576698