| Index: third_party/WebKit/Source/platform/exported/WebCryptoKeyAlgorithm.cpp
|
| diff --git a/third_party/WebKit/Source/platform/exported/WebCryptoKeyAlgorithm.cpp b/third_party/WebKit/Source/platform/exported/WebCryptoKeyAlgorithm.cpp
|
| index d110d3b60d08596f7bd85e49c22586ae2fb7ede6..12a70f9cb146e24741e8302783d90522afc8f9e8 100644
|
| --- a/third_party/WebKit/Source/platform/exported/WebCryptoKeyAlgorithm.cpp
|
| +++ b/third_party/WebKit/Source/platform/exported/WebCryptoKeyAlgorithm.cpp
|
| @@ -73,7 +73,7 @@ WebCryptoKeyAlgorithm WebCryptoKeyAlgorithm::createAes(
|
| if (keyLengthBits != 128 && keyLengthBits != 192 && keyLengthBits != 256)
|
| return WebCryptoKeyAlgorithm();
|
| return WebCryptoKeyAlgorithm(
|
| - id, wrapUnique(new WebCryptoAesKeyAlgorithmParams(keyLengthBits)));
|
| + id, makeUnique<WebCryptoAesKeyAlgorithmParams>(keyLengthBits));
|
| }
|
|
|
| WebCryptoKeyAlgorithm WebCryptoKeyAlgorithm::createHmac(
|
| @@ -105,7 +105,7 @@ WebCryptoKeyAlgorithm WebCryptoKeyAlgorithm::createEc(
|
| WebCryptoAlgorithmId id,
|
| WebCryptoNamedCurve namedCurve) {
|
| return WebCryptoKeyAlgorithm(
|
| - id, wrapUnique(new WebCryptoEcKeyAlgorithmParams(namedCurve)));
|
| + id, makeUnique<WebCryptoEcKeyAlgorithmParams>(namedCurve));
|
| }
|
|
|
| WebCryptoKeyAlgorithm WebCryptoKeyAlgorithm::createWithoutParams(
|
|
|