| Index: Source/modules/encryptedmedia/MediaKeySession.cpp
|
| diff --git a/Source/modules/encryptedmedia/MediaKeySession.cpp b/Source/modules/encryptedmedia/MediaKeySession.cpp
|
| index 693976c62519bfd40d2548a2b4123a658d3cc00d..0760ee356b0780ba0127f132c6ea8d9771a48813 100644
|
| --- a/Source/modules/encryptedmedia/MediaKeySession.cpp
|
| +++ b/Source/modules/encryptedmedia/MediaKeySession.cpp
|
| @@ -110,14 +110,14 @@ void MediaKeySession::keyRequestTimerFired(Timer<MediaKeySession>*)
|
| }
|
| }
|
|
|
| -void MediaKeySession::update(Uint8Array* key, ExceptionState& es)
|
| +void MediaKeySession::update(Uint8Array* key, ExceptionState& exceptionState)
|
| {
|
| // From <http://dvcs.w3.org/hg/html-media/raw-file/default/encrypted-media/encrypted-media.html#dom-addkey>:
|
| // The addKey(key) method must run the following steps:
|
| // 1. If the first or second argument [sic] is null or an empty array, throw an InvalidAccessError.
|
| // NOTE: the reference to a "second argument" is a spec bug.
|
| if (!key || !key->length()) {
|
| - es.throwUninformativeAndGenericDOMException(InvalidAccessError);
|
| + exceptionState.throwUninformativeAndGenericDOMException(InvalidAccessError);
|
| return;
|
| }
|
|
|
|
|