Index: Source/core/page/Crypto.cpp |
diff --git a/Source/core/page/Crypto.cpp b/Source/core/page/Crypto.cpp |
index a6aca2fd4920898b204a52c40f5f7e9acb80f044..2bc7fc94b1517c889ba5e7a93f631085d774460f 100644 |
--- a/Source/core/page/Crypto.cpp |
+++ b/Source/core/page/Crypto.cpp |
@@ -59,7 +59,6 @@ Crypto::Crypto() |
void Crypto::getRandomValues(ArrayBufferView* array, ExceptionCode& ec) |
{ |
-#if USE(OS_RANDOMNESS) |
if (!array || !isIntegerArray(array)) { |
ec = TYPE_MISMATCH_ERR; |
return; |
@@ -69,10 +68,6 @@ void Crypto::getRandomValues(ArrayBufferView* array, ExceptionCode& ec) |
return; |
} |
cryptographicallyRandomValues(array->baseAddress(), array->byteLength()); |
-#else |
- ASSERT_UNUSED(array, array); |
- ec = NOT_SUPPORTED_ERR; |
-#endif |
} |
} |