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

Unified Diff: Source/wtf/CryptographicallyRandomNumber.cpp

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/CryptographicallyRandomNumber.h ('k') | Source/wtf/OSRandomSource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/CryptographicallyRandomNumber.cpp
diff --git a/Source/wtf/CryptographicallyRandomNumber.cpp b/Source/wtf/CryptographicallyRandomNumber.cpp
index e896d6f59057ceea4777a0bbd3d681f3d99e1aed..fe445d6b0325f5a6ccbd6d8021df5d74f763bf9c 100644
--- a/Source/wtf/CryptographicallyRandomNumber.cpp
+++ b/Source/wtf/CryptographicallyRandomNumber.cpp
@@ -36,8 +36,6 @@
namespace WTF {
-#if USE(OS_RANDOMNESS)
-
namespace {
class ARC4Stream {
@@ -176,6 +174,4 @@ void cryptographicallyRandomValues(void* buffer, size_t length)
sharedRandomNumberGenerator().randomValues(buffer, length);
}
-#endif
-
}
« no previous file with comments | « Source/wtf/CryptographicallyRandomNumber.h ('k') | Source/wtf/OSRandomSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698