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

Unified Diff: content/child/webcrypto/status.h

Issue 233733004: [webcrypto] Make operations run on worker threads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix a crash (RSA-OAEP keys not supported) Created 6 years, 8 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
Index: content/child/webcrypto/status.h
diff --git a/content/child/webcrypto/status.h b/content/child/webcrypto/status.h
index 4fae5d4698d769e5c63b6c081da008c0e2b843cc..4d8585a70e0a19ad7e195db4ae329943537ba0d0 100644
--- a/content/child/webcrypto/status.h
+++ b/content/child/webcrypto/status.h
@@ -25,6 +25,8 @@ namespace webcrypto {
// JWK is not visible to the caller.
class CONTENT_EXPORT Status {
public:
+ Status() : type_(TYPE_ERROR) {}
+
// Returns true if the Status represents an error (any one of them).
bool IsError() const;

Powered by Google App Engine
This is Rietveld 408576698