Index: third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp |
diff --git a/third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp b/third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp |
index b2a2195cf35a07f862b94cc079b5c4821af565b5..862b4942250b02621b6e09a06f1e69daa8ed5be2 100644 |
--- a/third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp |
+++ b/third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp |
@@ -308,7 +308,7 @@ bool getBufferSource(const Dictionary& raw, const char* propertyName, BufferSour |
return ok; |
} |
-bool getUint8Array(const Dictionary& raw, const char* propertyName, RefPtr<DOMUint8Array>& array, const ErrorContext& context, AlgorithmError* error) |
+bool getUint8Array(const Dictionary& raw, const char* propertyName, DOMUint8Array*& array, const ErrorContext& context, AlgorithmError* error) |
{ |
if (!DictionaryHelper::get(raw, propertyName, array) || !array) { |
setTypeError(context.toString(propertyName, "Missing or not a Uint8Array"), error); |
@@ -320,7 +320,7 @@ bool getUint8Array(const Dictionary& raw, const char* propertyName, RefPtr<DOMUi |
// Defined by the WebCrypto spec as: |
// |
// typedef Uint8Array BigInteger; |
-bool getBigInteger(const Dictionary& raw, const char* propertyName, RefPtr<DOMUint8Array>& array, const ErrorContext& context, AlgorithmError* error) |
+bool getBigInteger(const Dictionary& raw, const char* propertyName, DOMUint8Array*& array, const ErrorContext& context, AlgorithmError* error) |
{ |
if (!getUint8Array(raw, propertyName, array, context, error)) |
return false; |
@@ -563,7 +563,7 @@ bool parseRsaHashedKeyGenParams(const Dictionary& raw, OwnPtr<WebCryptoAlgorithm |
if (!getUint32(raw, "modulusLength", modulusLength, context, error)) |
return false; |
- RefPtr<DOMUint8Array> publicExponent; |
+ DOMUint8Array* publicExponent = nullptr; |
if (!getBigInteger(raw, "publicExponent", publicExponent, context, error)) |
return false; |