OnAudioStateChanged doesn't take a WebContents
This commit is contained in:
parent
517d38f191
commit
948fe2107e
2 changed files with 2 additions and 4 deletions
|
@ -762,8 +762,7 @@ content::JavaScriptDialogManager* WebContents::GetJavaScriptDialogManager(
|
|||
return dialog_manager_.get();
|
||||
}
|
||||
|
||||
void WebContents::OnAudioStateChanged(content::WebContents* web_contents,
|
||||
bool audible) {
|
||||
void WebContents::OnAudioStateChanged(bool audible) {
|
||||
Emit("-audio-state-changed", audible);
|
||||
}
|
||||
|
||||
|
|
|
@ -358,8 +358,7 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
const content::BluetoothChooser::EventHandler& handler) override;
|
||||
content::JavaScriptDialogManager* GetJavaScriptDialogManager(
|
||||
content::WebContents* source) override;
|
||||
void OnAudioStateChanged(content::WebContents* web_contents,
|
||||
bool audible) override;
|
||||
void OnAudioStateChanged(bool audible) override;
|
||||
|
||||
// content::WebContentsObserver:
|
||||
void BeforeUnloadFired(const base::TimeTicks& proceed_time) override;
|
||||
|
|
Loading…
Reference in a new issue