Index: Source/modules/crypto/AesCbcParams.cpp |
diff --git a/Source/modules/crypto/AesCbcParams.cpp b/Source/modules/crypto/AesCbcParams.cpp |
index cce588ca6dd39a053adfc7282818a16f79139c85..e84bc7a2c984a644833b2bd67b73973315729a3e 100644 |
--- a/Source/modules/crypto/AesCbcParams.cpp |
+++ b/Source/modules/crypto/AesCbcParams.cpp |
@@ -47,6 +47,7 @@ Uint8Array* AesCbcParams::iv() |
AesCbcParams::AesCbcParams(const WebKit::WebCryptoAlgorithm& algorithm) |
: Algorithm(algorithm) |
{ |
+ ASSERT(algorithm.aesCbcParams()); |
ScriptWrappable::init(this); |
} |