| Index: third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp
|
| diff --git a/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp b/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp
|
| index 08af273aa51c4dae729eb92b200a4423f42acb6d..31b462ecec705e79090947f8e466595c594bac8d 100644
|
| --- a/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp
|
| +++ b/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp
|
| @@ -21,7 +21,7 @@
|
| #include "wtf/Threading.h"
|
|
|
| #define NOTIFICATION_PER_TYPE_HISTOGRAM_COUNTS(metric, type_name, value, max) \
|
| - case NotificationImageLoader::Type::type_name: { \
|
| + case NotificationImageLoader::Type::k##type_name: { \
|
| DEFINE_THREAD_SAFE_STATIC_LOCAL( \
|
| CustomCountHistogram, metric##type_name##Histogram, \
|
| new CustomCountHistogram("Notifications." #metric "." #type_name, \
|
| @@ -31,10 +31,14 @@
|
| }
|
|
|
| #define NOTIFICATION_HISTOGRAM_COUNTS(metric, type, value, max) \
|
| + /* DO NOT SUBMIT - conflict resolution helper:
|
| + * Important to have Image instead of kImage below. */
|
| switch (type) { \
|
| NOTIFICATION_PER_TYPE_HISTOGRAM_COUNTS(metric, Image, value, max) \
|
| NOTIFICATION_PER_TYPE_HISTOGRAM_COUNTS(metric, Icon, value, max) \
|
| NOTIFICATION_PER_TYPE_HISTOGRAM_COUNTS(metric, Badge, value, max) \
|
| + /* DO NOT SUBMIT - conflict resolution helper:
|
| + * Important to have ActionIcon instead of kActionIcon below. */
|
| NOTIFICATION_PER_TYPE_HISTOGRAM_COUNTS(metric, ActionIcon, value, max) \
|
| }
|
|
|
|
|