Fix typo in AudioStreamIndicator from r182364 causing hangs.

NOTRY=true
TBR=sky,bauerb

Review URL: https://chromiumcodereview.appspot.com/12260035

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182401 0039d316-1c4b-4281-b951-d872f2087c98
parent d7dd0f08
...@@ -64,7 +64,7 @@ void AudioStreamIndicator::UpdateWebContentsStatusOnUIThread( ...@@ -64,7 +64,7 @@ void AudioStreamIndicator::UpdateWebContentsStatusOnUIThread(
} else { } else {
std::map<RenderViewId, std::set<int> >::iterator it = std::map<RenderViewId, std::set<int> >::iterator it =
audio_streams_.find(id); audio_streams_.find(id);
if (it != audio_streams_.end()) if (it == audio_streams_.end())
return; return;
it->second.erase(stream_id); it->second.erase(stream_id);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment