Chromium Code Reviews| Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp |
| diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp |
| index f3c4ad3860e506678b34be4e784a8ada27ae72ed..25248028a17e8db33949385e1867c530ae4a6315 100644 |
| --- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp |
| +++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp |
| @@ -1994,7 +1994,6 @@ void HTMLMediaElement::playInternal() |
| else if (m_readyState >= HAVE_FUTURE_DATA) |
| scheduleEvent(EventTypeNames::playing); |
| } |
| - m_autoplaying = false; |
|
philipj_slow
2015/12/01 09:45:39
This should actually stay, and if removing it does
liberato (no reviews please)
2015/12/01 23:53:52
Done.
|
| updatePlayState(); |
| } |
| @@ -2945,6 +2944,7 @@ void HTMLMediaElement::updatePlayState() |
| mediaControls()->playbackStarted(); |
| startPlaybackProgressTimer(); |
| m_playing = true; |
| + m_autoplaying = false; |
|
philipj_slow
2015/12/01 09:45:39
This is not the place where it's cleared in the sp
liberato (no reviews please)
2015/12/01 23:53:52
Done.
|
| recordAutoplayMetric(AnyPlaybackStarted); |
| } else { // Should not be playing right now |