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

Unified Diff: Source/modules/crypto/CryptoResultImpl.h

Issue 243853004: [webcrypto] Reject failed operations with a DOMException rather than null. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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: Source/modules/crypto/CryptoResultImpl.h
diff --git a/Source/modules/crypto/CryptoResultImpl.h b/Source/modules/crypto/CryptoResultImpl.h
index f4fa76bf8d38620bbb0cd41a51d33b7206ddcb13..9c106270d7287fa3fe5880788fd01fe17b488e62 100644
--- a/Source/modules/crypto/CryptoResultImpl.h
+++ b/Source/modules/crypto/CryptoResultImpl.h
@@ -50,8 +50,7 @@ public:
static PassRefPtr<CryptoResultImpl> create();
- virtual void completeWithError() OVERRIDE;
- virtual void completeWithError(const blink::WebString&) OVERRIDE;
+ virtual void completeWithError(blink::WebCryptoErrorType, const blink::WebString&) OVERRIDE;
virtual void completeWithBuffer(const blink::WebArrayBuffer&) OVERRIDE;
virtual void completeWithBoolean(bool) OVERRIDE;
virtual void completeWithKey(const blink::WebCryptoKey&) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698