diff --git a/atom/browser/atom_browser_client.cc b/atom/browser/atom_browser_client.cc index b81a86ae78ed..a4ca59c63b81 100644 --- a/atom/browser/atom_browser_client.cc +++ b/atom/browser/atom_browser_client.cc @@ -61,7 +61,7 @@ void AtomBrowserClient::RenderProcessWillLaunch( } content::SpeechRecognitionManagerDelegate* - AtomBrowserClient::GetSpeechRecognitionManagerDelegate() { + AtomBrowserClient::CreateSpeechRecognitionManagerDelegate() { return new AtomSpeechRecognitionManagerDelegate; } diff --git a/atom/browser/atom_browser_client.h b/atom/browser/atom_browser_client.h index 7b13f6ba5006..72461f1e72f4 100644 --- a/atom/browser/atom_browser_client.h +++ b/atom/browser/atom_browser_client.h @@ -20,7 +20,7 @@ class AtomBrowserClient : public brightray::BrowserClient { // content::ContentBrowserClient: void RenderProcessWillLaunch(content::RenderProcessHost* host) override; content::SpeechRecognitionManagerDelegate* - GetSpeechRecognitionManagerDelegate() override; + CreateSpeechRecognitionManagerDelegate() override; content::AccessTokenStore* CreateAccessTokenStore() override; void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, const GURL& url,