Index: Source/bindings/v8/custom/V8WorkerCryptoCustom.cpp |
diff --git a/Source/core/loader/UniqueIdentifier.cpp b/Source/bindings/v8/custom/V8WorkerCryptoCustom.cpp |
similarity index 89% |
copy from Source/core/loader/UniqueIdentifier.cpp |
copy to Source/bindings/v8/custom/V8WorkerCryptoCustom.cpp |
index 0ad56563e3e214a67acd8c53decb085ad4250cb9..539b9ed11590c17ec5ce2bbc307520a49e6ac24e 100644 |
--- a/Source/core/loader/UniqueIdentifier.cpp |
+++ b/Source/bindings/v8/custom/V8WorkerCryptoCustom.cpp |
@@ -29,16 +29,15 @@ |
*/ |
#include "config.h" |
-#include "core/loader/UniqueIdentifier.h" |
+#include "V8WorkerCrypto.h" |
-namespace WebCore { |
+#include "V8Crypto.h" |
-static unsigned long s_uniqueIdentifier = 0; |
+namespace WebCore { |
-unsigned long createUniqueIdentifier() |
+void V8WorkerCrypto::getRandomValuesMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& args) |
{ |
- return ++s_uniqueIdentifier; |
+ V8Crypto::getRandomValuesMethodCustom(args); |
} |
} // namespace WebCore |
- |