Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1602)

Unified Diff: content/child/webcrypto/generate_key_result.cc

Issue 670433005: Cleanup: Use default constructor for WebCryptoKey rather than createNull() factory method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/child/webcrypto/openssl/rsa_key_openssl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webcrypto/generate_key_result.cc
diff --git a/content/child/webcrypto/generate_key_result.cc b/content/child/webcrypto/generate_key_result.cc
index 1709e47b07f4473181cde9eafac47fc13c6de9f9..3c61657eb55fc71c8fc2fc654073935268202bde 100644
--- a/content/child/webcrypto/generate_key_result.cc
+++ b/content/child/webcrypto/generate_key_result.cc
@@ -10,11 +10,7 @@ namespace content {
namespace webcrypto {
-GenerateKeyResult::GenerateKeyResult()
- : type_(TYPE_NULL),
- secret_key_(blink::WebCryptoKey::createNull()),
- public_key_(blink::WebCryptoKey::createNull()),
- private_key_(blink::WebCryptoKey::createNull()) {
+GenerateKeyResult::GenerateKeyResult() : type_(TYPE_NULL) {
}
GenerateKeyResult::Type GenerateKeyResult::type() const {
« no previous file with comments | « no previous file | content/child/webcrypto/openssl/rsa_key_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698