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

Unified Diff: Source/wtf/OSRandomSource.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/CryptographicallyRandomNumber.cpp ('k') | Source/wtf/Platform.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/OSRandomSource.h
diff --git a/Source/wtf/OSRandomSource.h b/Source/wtf/OSRandomSource.h
index 214a9547292aaad4c3133ef0b84ad558f0b83a3d..0e92e19542d3fb093c360ea48b9264786ab1c768 100644
--- a/Source/wtf/OSRandomSource.h
+++ b/Source/wtf/OSRandomSource.h
@@ -28,13 +28,11 @@
namespace WTF {
-#if USE(OS_RANDOMNESS)
// This function attempts to fill buffer with randomness from the operating
// system. If insufficient randomness is available, the buffer will be
// partially filled. Rather than calling this function directly, consider
// calling cryptographicallyRandomNumber or cryptographicallyRandomValues.
void cryptographicallyRandomValuesFromOS(unsigned char* buffer, size_t length);
-#endif
}
« no previous file with comments | « Source/wtf/CryptographicallyRandomNumber.cpp ('k') | Source/wtf/Platform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698