| Index: chrome/browser/ui/tabs/tab_strip_model.cc
|
| diff --git a/chrome/browser/ui/tabs/tab_strip_model.cc b/chrome/browser/ui/tabs/tab_strip_model.cc
|
| index 5fa230a0174e3ee1b4c84045ade31f89bf38709b..d5bd05b245e184b815b6540de678403182b3f0c2 100644
|
| --- a/chrome/browser/ui/tabs/tab_strip_model.cc
|
| +++ b/chrome/browser/ui/tabs/tab_strip_model.cc
|
| @@ -1038,14 +1038,14 @@ void TabStripModel::ExecuteContextMenuCommand(
|
|
|
| case CommandToggleTabAudioMuted: {
|
| const std::vector<int>& indices = GetIndicesForCommand(context_index);
|
| - const bool mute = !chrome::AreAllTabsMuted(*this, indices);
|
| - if (mute)
|
| + const bool muted = !chrome::AreAllTabsMuted(*this, indices);
|
| + if (muted)
|
| content::RecordAction(UserMetricsAction("TabContextMenu_MuteTabs"));
|
| else
|
| content::RecordAction(UserMetricsAction("TabContextMenu_UnmuteTabs"));
|
| for (std::vector<int>::const_iterator i = indices.begin();
|
| i != indices.end(); ++i) {
|
| - chrome::SetTabAudioMuted(GetWebContentsAt(*i), mute);
|
| + chrome::SetTabAudioMuted(GetWebContentsAt(*i), muted, "user");
|
| }
|
| break;
|
| }
|
|
|