From 7cfc9fad839a19f64500427adcc45f55e5f6e242 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 27 Jan 2016 23:18:42 +0800 Subject: [PATCH] Fix compilation error --- brightray/browser/platform_notification_service.cc | 2 +- brightray/browser/platform_notification_service.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/brightray/browser/platform_notification_service.cc b/brightray/browser/platform_notification_service.cc index 53b94242c80d..5ce667625085 100644 --- a/brightray/browser/platform_notification_service.cc +++ b/brightray/browser/platform_notification_service.cc @@ -47,7 +47,7 @@ void OnWebNotificationAllowed( PlatformNotificationService::PlatformNotificationService( BrowserClient* browser_client) : browser_client_(browser_client), - render_process_id_(0) { + render_process_id_(-1) { } PlatformNotificationService::~PlatformNotificationService() {} diff --git a/brightray/browser/platform_notification_service.h b/brightray/browser/platform_notification_service.h index c84a02aa02e6..ebbb6bae1de9 100644 --- a/brightray/browser/platform_notification_service.h +++ b/brightray/browser/platform_notification_service.h @@ -48,8 +48,8 @@ class PlatformNotificationService std::set* displayed_notifications) override; private: - int render_process_id_; BrowserClient* browser_client_; + int render_process_id_; DISALLOW_COPY_AND_ASSIGN(PlatformNotificationService); };