Fix compilation error

This commit is contained in:
Cheng Zhao 2016-01-27 23:18:42 +08:00
parent 144061cb2e
commit 7cfc9fad83
2 changed files with 2 additions and 2 deletions

View file

@ -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() {}

View file

@ -48,8 +48,8 @@ class PlatformNotificationService
std::set<std::string>* displayed_notifications) override;
private:
int render_process_id_;
BrowserClient* browser_client_;
int render_process_id_;
DISALLOW_COPY_AND_ASSIGN(PlatformNotificationService);
};