| Index: third_party/WebKit/Source/modules/mediasession/HTMLMediaElementMediaSession.cpp
|
| diff --git a/third_party/WebKit/Source/modules/mediasession/HTMLMediaElementMediaSession.cpp b/third_party/WebKit/Source/modules/mediasession/HTMLMediaElementMediaSession.cpp
|
| index 225c250c200cd66e48ffde51649b6fd24a51c0ff..5f575bc359c5c48c2093535358ee7c7eca033b0c 100644
|
| --- a/third_party/WebKit/Source/modules/mediasession/HTMLMediaElementMediaSession.cpp
|
| +++ b/third_party/WebKit/Source/modules/mediasession/HTMLMediaElementMediaSession.cpp
|
| @@ -18,8 +18,8 @@ MediaSession* HTMLMediaElementMediaSession::session(HTMLMediaElement& mediaEleme
|
| void HTMLMediaElementMediaSession::setSession(HTMLMediaElement& mediaElement, MediaSession* session, ExceptionState& exceptionState)
|
| {
|
| HTMLMediaElement::NetworkState networkState = mediaElement.getNetworkState();
|
| - if (networkState == HTMLMediaElement::NETWORK_IDLE || networkState == HTMLMediaElement::NETWORK_LOADING) {
|
| - exceptionState.throwDOMException(InvalidStateError, "networkState must be NETWORK_EMPTY or NETWORK_NO_SOURCE.");
|
| + if (networkState == HTMLMediaElement::kNetworkIdle || networkState == HTMLMediaElement::kNetworkLoading) {
|
| + exceptionState.throwDOMException(InvalidStateError, "networkState must be kNetworkEmpty or kNetworkNoSource.");
|
| return;
|
| }
|
|
|
|
|