| Index: third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp b/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
|
| index be254c189d6f550806ce1b75e1f249092ae3b1e8..21cea2dee9930a09636a566424bfddf015f5bc85 100644
|
| --- a/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
|
| +++ b/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
|
| @@ -961,6 +961,11 @@ void MediaControls::networkStateChanged() {
|
| invalidate(m_downloadButton);
|
| invalidate(m_timeline);
|
| invalidate(m_volumeSlider);
|
| +
|
| + // Update the display state of the download button in case we now have a
|
| + // source or no longer have a source.
|
| + m_downloadButton->setIsWanted(
|
| + m_downloadButton->shouldDisplayDownloadButton());
|
| }
|
|
|
| bool MediaControls::overflowMenuVisible() {
|
|
|