Avoid calling GetWebContentsFromProcessID for twice
This commit is contained in:
parent
b0faa62f76
commit
14c4be50c1
3 changed files with 7 additions and 15 deletions
|
@ -100,9 +100,7 @@ class AtomBrowserClient : public brightray::BrowserClient,
|
|||
const content::MainFunctionParams&) override;
|
||||
void WebNotificationAllowed(
|
||||
int render_process_id,
|
||||
const base::Callback<void(bool)>& callback) override;
|
||||
bool WebContentsAudioMuted(
|
||||
int render_process_id) override;
|
||||
const base::Callback<void(bool, bool)>& callback) override;
|
||||
|
||||
// content::RenderProcessHostObserver:
|
||||
void RenderProcessHostDestroyed(content::RenderProcessHost* host) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue