Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1048)

Unified Diff: content/child/notifications/notification_dispatcher.h

Issue 1014073002: Implement getting notifications up to the browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/child/notifications/notification_dispatcher.h
diff --git a/content/child/notifications/notification_dispatcher.h b/content/child/notifications/notification_dispatcher.h
index 824cde3bb25d2859b8239a3830a6ba9a7a2d431e..297f38b6b28ed96c095686a40eb7012ae2dd741a 100644
--- a/content/child/notifications/notification_dispatcher.h
+++ b/content/child/notifications/notification_dispatcher.h
@@ -34,7 +34,7 @@ class NotificationDispatcher : public WorkerThreadMessageFilter {
base::Lock notification_id_map_lock_;
NotificationIdToThreadId notification_id_map_;
- int next_notification_id_;
+ int next_notification_id_ = 0;
DISALLOW_COPY_AND_ASSIGN(NotificationDispatcher);
};
« no previous file with comments | « content/browser/notifications/notification_message_filter.cc ('k') | content/child/notifications/notification_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698