| Index: Source/modules/crypto/CryptoOperation.cpp
|
| diff --git a/Source/modules/crypto/CryptoOperation.cpp b/Source/modules/crypto/CryptoOperation.cpp
|
| index 74c8b7e043102bc7f4beb469561027d441fef658..3f4ee41033d6bc6a1445eae77267d79a3fae5bc0 100644
|
| --- a/Source/modules/crypto/CryptoOperation.cpp
|
| +++ b/Source/modules/crypto/CryptoOperation.cpp
|
| @@ -120,6 +120,15 @@ void CryptoOperationImpl::completeWithArrayBuffer(const WebKit::WebArrayBuffer&
|
| promiseResolver()->fulfill(PassRefPtr<ArrayBuffer>(buffer));
|
| }
|
|
|
| +void CryptoOperationImpl::completeWithBoolean(bool b)
|
| +{
|
| + ASSERT(m_state == Processing || m_state == Finishing);
|
| +
|
| + m_impl = 0;
|
| + m_state = Done;
|
| + promiseResolver()->fulfill(ScriptValue::createBoolean(b));
|
| +}
|
| +
|
| void CryptoOperationImpl::process(const void* bytes, size_t size)
|
| {
|
| switch (m_state) {
|
|
|