diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/modules/crypto/Crypto.cpp')
-rw-r--r-- | chromium/third_party/WebKit/Source/modules/crypto/Crypto.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/chromium/third_party/WebKit/Source/modules/crypto/Crypto.cpp b/chromium/third_party/WebKit/Source/modules/crypto/Crypto.cpp index 4a8a7f7e2bd..a5d40861a0a 100644 --- a/chromium/third_party/WebKit/Source/modules/crypto/Crypto.cpp +++ b/chromium/third_party/WebKit/Source/modules/crypto/Crypto.cpp @@ -41,7 +41,7 @@ namespace { bool isIntegerArray(ArrayBufferView* array) { - ArrayBufferView::ViewType type = array->getType(); + ArrayBufferView::ViewType type = array->type(); return type == ArrayBufferView::TypeInt8 || type == ArrayBufferView::TypeUint8 || type == ArrayBufferView::TypeUint8Clamped @@ -58,7 +58,6 @@ Crypto::Crypto() ScriptWrappable::init(this); } -// Note: This implementation must be thread-safe, as it is used by workers. void Crypto::getRandomValues(ArrayBufferView* array, ExceptionState& exceptionState) { if (!array) { @@ -83,4 +82,9 @@ SubtleCrypto* Crypto::subtle() return m_subtleCrypto.get(); } +void Crypto::trace(Visitor* visitor) +{ + visitor->trace(m_subtleCrypto); +} + } |