| Index: content/browser/web_contents/web_contents_impl.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
| index 95b5483720539cfee15fd1a1a995415da8f41993..c70c9ba034575a6869eaa6eda952094a25226a50 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -1280,7 +1280,8 @@ void WebContentsImpl::SetAudioMuted(bool mute) {
|
| FOR_EACH_OBSERVER(WebContentsObserver, observers_,
|
| DidUpdateAudioMutingState(mute));
|
|
|
| - OnAudioStateChanged(!mute && audio_stream_monitor_.IsCurrentlyAudible());
|
| + // Notification for UI updates in response to the changed muting state.
|
| + NotifyNavigationStateChanged(INVALIDATE_TYPE_TAB);
|
| }
|
|
|
| bool WebContentsImpl::IsConnectedToBluetoothDevice() const {
|
| @@ -1340,14 +1341,6 @@ void WebContentsImpl::NotifyNavigationStateChanged(
|
| GetOuterWebContents()->NotifyNavigationStateChanged(changed_flags);
|
| }
|
|
|
| -void WebContentsImpl::OnAudioStateChanged(bool is_audio_playing) {
|
| - SendPageMessage(
|
| - new PageMsg_AudioStateChanged(MSG_ROUTING_NONE, is_audio_playing));
|
| -
|
| - // Notification for UI updates in response to the changed muting state.
|
| - NotifyNavigationStateChanged(INVALIDATE_TYPE_TAB);
|
| -}
|
| -
|
| base::TimeTicks WebContentsImpl::GetLastActiveTime() const {
|
| return last_active_time_;
|
| }
|
|
|