Index: Source/modules/crypto/Crypto.h |
diff --git a/Source/modules/crypto/Crypto.h b/Source/modules/crypto/Crypto.h |
index d4f5cda3ae92170a7f90b892691540722882ff60..6a8ca977fed119b2caa9d7058912b8c678a91022 100644 |
--- a/Source/modules/crypto/Crypto.h |
+++ b/Source/modules/crypto/Crypto.h |
@@ -29,22 +29,17 @@ |
#ifndef Crypto_h |
#define Crypto_h |
-#include "bindings/v8/ScriptWrappable.h" |
+#include "modules/crypto/RandomSource.h" |
#include "modules/crypto/SubtleCrypto.h" |
-#include "wtf/Forward.h" |
-#include "wtf/PassRefPtr.h" |
-#include "wtf/RefCounted.h" |
namespace WebCore { |
typedef int ExceptionCode; |
-class Crypto : public ScriptWrappable, public RefCounted<Crypto> { |
+class Crypto : public RandomSource { |
public: |
static PassRefPtr<Crypto> create() { return adoptRef(new Crypto()); } |
- void getRandomValues(ArrayBufferView*, ExceptionCode&); |
- |
SubtleCrypto* subtle(); |
private: |