| Index: third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
|
| diff --git a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
|
| index a8b81a725065644c5d992c0139daa1b38cdf5b8e..75c59cdca20c6a5ead166d6d36d4ec98208faf12 100644
|
| --- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
|
| +++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
|
| @@ -135,15 +135,17 @@ static ScriptPromise CreateRejectedPromiseNotCallable(
|
| static ScriptPromise CreateRejectedPromiseAlreadyClosed(
|
| ScriptState* scriptState) {
|
| return ScriptPromise::rejectWithDOMException(
|
| - scriptState, DOMException::create(InvalidStateError,
|
| - "The session is already closed."));
|
| + scriptState,
|
| + DOMException::create(InvalidStateError,
|
| + "The session is already closed."));
|
| }
|
|
|
| static ScriptPromise CreateRejectedPromiseAlreadyInitialized(
|
| ScriptState* scriptState) {
|
| return ScriptPromise::rejectWithDOMException(
|
| - scriptState, DOMException::create(InvalidStateError,
|
| - "The session is already initialized."));
|
| + scriptState,
|
| + DOMException::create(InvalidStateError,
|
| + "The session is already initialized."));
|
| }
|
|
|
| // A class holding a pending action.
|
| @@ -446,8 +448,8 @@ MediaKeyStatusMap* MediaKeySession::keyStatuses() {
|
| ScriptPromise MediaKeySession::generateRequest(ScriptState* scriptState,
|
| const String& initDataTypeString,
|
| const DOMArrayPiece& initData) {
|
| - DVLOG(MEDIA_KEY_SESSION_LOG_LEVEL) << __func__ << "(" << this << ") "
|
| - << initDataTypeString;
|
| + DVLOG(MEDIA_KEY_SESSION_LOG_LEVEL)
|
| + << __func__ << "(" << this << ") " << initDataTypeString;
|
|
|
| // From https://w3c.github.io/encrypted-media/#generateRequest:
|
| // Generates a request based on the initData. When this method is invoked,
|
| @@ -562,8 +564,8 @@ void MediaKeySession::finishGenerateRequest() {
|
|
|
| ScriptPromise MediaKeySession::load(ScriptState* scriptState,
|
| const String& sessionId) {
|
| - DVLOG(MEDIA_KEY_SESSION_LOG_LEVEL) << __func__ << "(" << this << ") "
|
| - << sessionId;
|
| + DVLOG(MEDIA_KEY_SESSION_LOG_LEVEL)
|
| + << __func__ << "(" << this << ") " << sessionId;
|
|
|
| // From https://w3c.github.io/encrypted-media/#load:
|
| // Loads the data stored for the specified session into this object. When
|
| @@ -948,8 +950,8 @@ void MediaKeySession::close() {
|
| }
|
|
|
| void MediaKeySession::expirationChanged(double updatedExpiryTimeInMS) {
|
| - DVLOG(MEDIA_KEY_SESSION_LOG_LEVEL) << __func__ << "(" << this << ") "
|
| - << updatedExpiryTimeInMS;
|
| + DVLOG(MEDIA_KEY_SESSION_LOG_LEVEL)
|
| + << __func__ << "(" << this << ") " << updatedExpiryTimeInMS;
|
|
|
| // From https://w3c.github.io/encrypted-media/#update-expiration:
|
| // The following steps are run:
|
|
|