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

Unified Diff: content/public/common/platform_notification_data.h

Issue 2381023002: Give PlatformNotificationAction's scalar type field a default value (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/platform_notification_data.h
diff --git a/content/public/common/platform_notification_data.h b/content/public/common/platform_notification_data.h
index a2108d0b4b9084b67097d6a707cfa7775fe47b69..74049011c9b26086e76a2b40d8cc7accabab363e 100644
--- a/content/public/common/platform_notification_data.h
+++ b/content/public/common/platform_notification_data.h
@@ -31,7 +31,8 @@ struct CONTENT_EXPORT PlatformNotificationAction {
~PlatformNotificationAction();
// Type of the action (button or text input).
- PlatformNotificationActionType type;
+ PlatformNotificationActionType type =
+ PLATFORM_NOTIFICATION_ACTION_TYPE_BUTTON;
// Action name that the author can use to distinguish them.
std::string action;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698