Index: chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm |
diff --git a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm |
index 1489c29da0204d1d1cd24454bbda8adeff1d555e..8e8395aeccb27913a7ea0237531694a3f2a3fafd 100644 |
--- a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm |
+++ b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm |
@@ -831,7 +831,7 @@ NSImage* Overlay(NSImage* ground, NSImage* overlay, CGFloat alpha) { |
if (!tabStripModel_->ContainsIndex(index)) |
return; |
WebContents* contents = tabStripModel_->GetWebContentsAt(index); |
- chrome::SetTabAudioMuted(contents, !chrome::IsTabAudioMuted(contents)); |
+ chrome::SetTabAudioMuted(contents, !chrome::IsTabAudioMuted(contents), "user"); |
miu
2014/12/05 23:46:48
Instead of passing "user" as a cause, it's best to
Jared Sohn
2014/12/07 22:39:45
I also need access to this constant from chrome/br
miu
2014/12/09 01:56:24
The way you did it is the preferred way, with one
|
} |
// Called when the user closes a tab. Asks the model to close the tab. |sender| |