Unreviewed, build fix for r233873.
authorjiewen_tan@apple.com <jiewen_tan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Jul 2018 01:03:20 +0000 (01:03 +0000)
committerjiewen_tan@apple.com <jiewen_tan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Jul 2018 01:03:20 +0000 (01:03 +0000)
* crypto/SubtleCrypto.cpp:
(WebCore::crossThreadCopyImportParams):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@233875 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/crypto/SubtleCrypto.cpp

index aecfda7..652b776 100644 (file)
@@ -1,3 +1,10 @@
+2018-07-16  Jiewen Tan  <jiewen_tan@apple.com>
+
+        Unreviewed, build fix for r233873.
+
+        * crypto/SubtleCrypto.cpp:
+        (WebCore::crossThreadCopyImportParams):
+
 2018-07-15  Jiewen Tan  <jiewen_tan@apple.com>
 
         [WebCrypto] Crypto operations should copy their parameters before hoping to another thread
index bf7ef46..7af1e62 100644 (file)
@@ -520,7 +520,7 @@ static std::unique_ptr<CryptoAlgorithmParameters> crossThreadCopyImportParams(co
 {
     switch (importParams.parametersClass()) {
     case CryptoAlgorithmParameters::Class::None: {
-        auto result = std::make_unique<CryptoAlgorithmRsaHashedImportParams>();
+        auto result = std::make_unique<CryptoAlgorithmParameters>();
         result->identifier = importParams.identifier;
         return result;
     }