| Index: third_party/WebKit/Source/modules/notifications/NotificationData.cpp
|
| diff --git a/third_party/WebKit/Source/modules/notifications/NotificationData.cpp b/third_party/WebKit/Source/modules/notifications/NotificationData.cpp
|
| index b67cd1ec28184b7fa1a0ea2d7499af9d810287be..d7bc93f1ab08eb2ee0ef0ba8502bfcd7c0355ad7 100644
|
| --- a/third_party/WebKit/Source/modules/notifications/NotificationData.cpp
|
| +++ b/third_party/WebKit/Source/modules/notifications/NotificationData.cpp
|
| @@ -13,6 +13,7 @@
|
| #include "modules/vibration/NavigatorVibration.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| #include "platform/weborigin/KURL.h"
|
| +#include "wtf/CurrentTime.h"
|
|
|
| namespace blink {
|
| namespace {
|
| @@ -56,6 +57,7 @@ WebNotificationData createWebNotificationData(ExecutionContext* executionContext
|
|
|
| webData.icon = iconUrl;
|
| webData.vibrate = NavigatorVibration::sanitizeVibrationPattern(options.vibrate());
|
| + webData.timestamp = options.hasTimestamp() ? static_cast<double>(options.timestamp()) : WTF::currentTimeMS();
|
| webData.silent = options.silent();
|
| webData.requireInteraction = options.requireInteraction();
|
|
|
|
|