Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / content / child / webcrypto / structured_clone.cc
index 6bbf6d3..68d449a 100644 (file)
@@ -109,7 +109,7 @@ bool SerializeKeyForClone(const blink::WebCryptoKey& key,
 bool DeserializeKeyForClone(const blink::WebCryptoKeyAlgorithm& algorithm,
                             blink::WebCryptoKeyType type,
                             bool extractable,
-                            blink::WebCryptoKeyUsageMask usage_mask,
+                            blink::WebCryptoKeyUsageMask usages,
                             const CryptoData& key_data,
                             blink::WebCryptoKey* key) {
   // TODO(eroman): This should not call into the platform crypto layer.
@@ -124,7 +124,7 @@ bool DeserializeKeyForClone(const blink::WebCryptoKeyAlgorithm& algorithm,
                             key_data,
                             KeyAlgorithmToImportAlgorithm(algorithm),
                             extractable,
-                            usage_mask,
+                            usages,
                             key);
   if (status.IsError())
     return false;