Index: content/child/webcrypto/status.h |
diff --git a/content/child/webcrypto/status.h b/content/child/webcrypto/status.h |
index 4fae5d4698d769e5c63b6c081da008c0e2b843cc..163af4273906169f0af4e8e4b38753761ffa3ee1 100644 |
--- a/content/child/webcrypto/status.h |
+++ b/content/child/webcrypto/status.h |
@@ -19,12 +19,14 @@ namespace webcrypto { |
// As such, it is important that errors DO NOT reveal any sensitive material |
// (like key bytes). |
// |
-// Care must be taken with what errors are reported back to blink when doing |
+// Care must be taken with what errors are reported back to Blink when doing |
// compound operations like unwrapping a JWK key. In this case, errors |
// generated by the JWK import are not appropriate to report since the wrapped |
// 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; |