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 98fbadd81cfbf73e1063099454cef7f617b19828..45b488e09543dd92a45b6e828e6fe0babd6a55ab 100644 |
--- a/third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp |
+++ b/third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp |
@@ -39,6 +39,7 @@ |
#include "modules/crypto/CryptoHistograms.h" |
#include "modules/crypto/CryptoKey.h" |
#include "modules/crypto/CryptoResultImpl.h" |
+#include "modules/crypto/CryptoUtilities.h" |
#include "modules/crypto/NormalizeAlgorithm.h" |
#include "platform/json/JSONValues.h" |
#include "public/platform/Platform.h" |
@@ -154,11 +155,6 @@ static bool ParseJsonWebKey(const Dictionary& dict, |
return true; |
} |
-static WebVector<uint8_t> CopyBytes(const DOMArrayPiece& source) { |
- return WebVector<uint8_t>(static_cast<uint8_t*>(source.Data()), |
- source.ByteLength()); |
-} |
- |
SubtleCrypto::SubtleCrypto() {} |
ScriptPromise SubtleCrypto::encrypt(ScriptState* script_state, |