From 02d632c4f70eb2ed84ba47783490dcf6885daf37 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 9 Jan 2015 16:00:26 -0800 Subject: [PATCH] Fix change of ShowDesktopNotification API --- brightray/browser/browser_client.cc | 3 ++- brightray/browser/browser_client.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/brightray/browser/browser_client.cc b/brightray/browser/browser_client.cc index 70a6790dfd..a1c6d2f771 100644 --- a/brightray/browser/browser_client.cc +++ b/brightray/browser/browser_client.cc @@ -69,7 +69,8 @@ net::URLRequestContextGetter* BrowserClient::CreateRequestContext( void BrowserClient::ShowDesktopNotification( const content::ShowDesktopNotificationHostMsgParams& params, - content::RenderFrameHost* render_frame_host, + content::BrowserContext* browser_context, + int render_process_id, scoped_ptr delegate, base::Closure* cancel_callback) { auto presenter = notification_presenter(); diff --git a/brightray/browser/browser_client.h b/brightray/browser/browser_client.h index 9163d6c702..e3e256249d 100644 --- a/brightray/browser/browser_client.h +++ b/brightray/browser/browser_client.h @@ -43,7 +43,8 @@ class BrowserClient : public content::ContentBrowserClient { const content::MainFunctionParams&) override; void ShowDesktopNotification( const content::ShowDesktopNotificationHostMsgParams& params, - content::RenderFrameHost* render_frame_host, + content::BrowserContext* browser_context, + int render_process_id, scoped_ptr delegate, base::Closure* cancel_callback) override; content::MediaObserver* GetMediaObserver() override;