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

Unified Diff: Source/wtf/CryptographicallyRandomNumber.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/core/platform/UUID.cpp ('k') | Source/wtf/CryptographicallyRandomNumber.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/CryptographicallyRandomNumber.h
diff --git a/Source/wtf/CryptographicallyRandomNumber.h b/Source/wtf/CryptographicallyRandomNumber.h
index 2262b6c3b311faed26f704799561a8aad57e0851..6e8f8756e249c33c0c223e1799aea225a142e858 100644
--- a/Source/wtf/CryptographicallyRandomNumber.h
+++ b/Source/wtf/CryptographicallyRandomNumber.h
@@ -30,16 +30,12 @@
namespace WTF {
-#if USE(OS_RANDOMNESS)
WTF_EXPORT_PRIVATE uint32_t cryptographicallyRandomNumber();
WTF_EXPORT_PRIVATE void cryptographicallyRandomValues(void* buffer, size_t length);
-#endif
}
-#if USE(OS_RANDOMNESS)
using WTF::cryptographicallyRandomNumber;
using WTF::cryptographicallyRandomValues;
-#endif
#endif
« no previous file with comments | « Source/core/platform/UUID.cpp ('k') | Source/wtf/CryptographicallyRandomNumber.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698