| Index: third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp
|
| diff --git a/third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp b/third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp
|
| index 0214b7adfe4f94329619a4ad10d06e24dfcd7a1d..72a24b1ce8ed2c4ee86f38ce82ef5fd4d8ffb138 100644
|
| --- a/third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp
|
| +++ b/third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp
|
| @@ -455,7 +455,7 @@ ScriptPromise SubtleCrypto::importKey(
|
| if (rawKeyData.isArrayBuffer()) {
|
| keyData = copyBytes(rawKeyData.getAsArrayBuffer());
|
| } else if (rawKeyData.isArrayBufferView()) {
|
| - keyData = copyBytes(rawKeyData.getAsArrayBufferView());
|
| + keyData = copyBytes(rawKeyData.getAsArrayBufferView().view());
|
| } else {
|
| result->completeWithError(
|
| WebCryptoErrorTypeType,
|
|
|