Index: third_party/WebKit/Source/core/testing/Internals.cpp |
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp |
index b64438310952189c839cc91f4cd6784215ab5d59..6956f789b68e9347c3744550990fcaf41bd9a5f2 100644 |
--- a/third_party/WebKit/Source/core/testing/Internals.cpp |
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp |
@@ -2548,8 +2548,8 @@ double Internals::monotonicTimeToZeroBasedDocumentTime(double platformTime, Exce |
void Internals::setMediaElementNetworkState(HTMLMediaElement* mediaElement, int state) |
{ |
ASSERT(mediaElement); |
- ASSERT(state >= HTMLMediaElement::NetworkState::NETWORK_EMPTY); |
- ASSERT(state <= HTMLMediaElement::NetworkState::NETWORK_NO_SOURCE); |
+ ASSERT(state >= WebMediaPlayer::NetworkState::NetworkStateEmpty); |
+ ASSERT(state <= WebMediaPlayer::NetworkState::NetworkStateDecodeError); |
mediaElement->setNetworkState(static_cast<WebMediaPlayer::NetworkState>(state)); |
} |