Index: Source/modules/crypto/NormalizeAlgorithm.h |
diff --git a/Source/modules/crypto/NormalizeAlgorithm.h b/Source/modules/crypto/NormalizeAlgorithm.h |
index 93d30db2f60e551d9b3d1dd4ac7a4f9c66abd721..fdf1fd6299518a912e111769984786d87c8ebef5 100644 |
--- a/Source/modules/crypto/NormalizeAlgorithm.h |
+++ b/Source/modules/crypto/NormalizeAlgorithm.h |
@@ -38,7 +38,8 @@ namespace WebKit { class WebCryptoAlgorithm; } |
namespace WebCore { |
class Dictionary; |
-class ExceptionState; |
+ |
+typedef int ExceptionCode; |
enum AlgorithmOperation { |
Encrypt, |
@@ -55,8 +56,8 @@ enum AlgorithmOperation { |
}; |
// Normalizes an algorithm identifier (dictionary) into a WebCryptoAlgorithm. If |
-// normalization fails then returns false and sets |es|. |
-bool normalizeAlgorithm(const Dictionary&, AlgorithmOperation, WebKit::WebCryptoAlgorithm&, ExceptionState&) WARN_UNUSED_RETURN; |
+// normalization fails then returns false and sets |ec|. |
+bool normalizeAlgorithm(const Dictionary&, AlgorithmOperation, WebKit::WebCryptoAlgorithm&, ExceptionCode&) WARN_UNUSED_RETURN; |
} // namespace WebCore |