Cleanup: Use default constructor for WebCryptoKey rather than createNull() factory method.
BUG=425251
Review URL: https://codereview.chromium.org/670433005
Cr-Commit-Position: refs/heads/master@{#300507}
diff --git a/content/child/webcrypto/webcrypto_impl.cc b/content/child/webcrypto/webcrypto_impl.cc
index 418c0f8..205d515 100644
--- a/content/child/webcrypto/webcrypto_impl.cc
+++ b/content/child/webcrypto/webcrypto_impl.cc
@@ -238,8 +238,7 @@
key_data(key_data, key_data + key_data_size),
algorithm(algorithm),
extractable(extractable),
- usage_mask(usage_mask),
- key(blink::WebCryptoKey::createNull()) {}
+ usage_mask(usage_mask) {}
const blink::WebCryptoKeyFormat format;
const std::vector<uint8_t> key_data;
@@ -324,8 +323,7 @@
unwrap_algorithm(unwrap_algorithm),
unwrapped_key_algorithm(unwrapped_key_algorithm),
extractable(extractable),
- usages(usages),
- unwrapped_key(blink::WebCryptoKey::createNull()) {}
+ usages(usages) {}
const blink::WebCryptoKeyFormat format;
const std::vector<uint8_t> wrapped_key;