Index: Source/core/html/HTMLMediaElement.cpp |
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp |
index 43c05c59c093f876b19a36ce3cbbb5148b9d221b..24639baf36b328126002cc1e765b13a67700ba46 100644 |
--- a/Source/core/html/HTMLMediaElement.cpp |
+++ b/Source/core/html/HTMLMediaElement.cpp |
@@ -1537,8 +1537,6 @@ void HTMLMediaElement::setNetworkState(MediaPlayer::NetworkState state) |
void HTMLMediaElement::changeNetworkStateFromLoadingToIdle() |
{ |
m_progressEventTimer.stop(); |
- if (hasMediaControls() && m_player->didLoadingProgress()) |
- mediaControls()->bufferingProgressed(); |
// Schedule one last progress event so we guarantee that at least one is fired |
// for files that load very quickly. |
@@ -1839,8 +1837,6 @@ void HTMLMediaElement::progressEventTimerFired(Timer<HTMLMediaElement>*) |
m_sentStalledEvent = false; |
if (renderer()) |
renderer()->updateFromElement(); |
- if (hasMediaControls()) |
- mediaControls()->bufferingProgressed(); |
} else if (timedelta > 3.0 && !m_sentStalledEvent) { |
scheduleEvent(EventTypeNames::stalled); |
m_sentStalledEvent = true; |