Index: third_party/WebKit/Source/core/events/PointerEvent.h |
diff --git a/third_party/WebKit/Source/core/events/PointerEvent.h b/third_party/WebKit/Source/core/events/PointerEvent.h |
index 234a33cb98bd27d1bb7a9e62426ad4dd263b9fec..971f7497687edc6d5581c133ba2af0a16350ba97 100644 |
--- a/third_party/WebKit/Source/core/events/PointerEvent.h |
+++ b/third_party/WebKit/Source/core/events/PointerEvent.h |
@@ -15,8 +15,13 @@ class CORE_EXPORT PointerEvent final : public MouseEvent { |
public: |
static PointerEvent* Create(const AtomicString& type, |
+ const PointerEventInit& initializer, |
+ TimeTicks platform_time_stamp) { |
+ return new PointerEvent(type, initializer, platform_time_stamp); |
+ } |
+ static PointerEvent* Create(const AtomicString& type, |
const PointerEventInit& initializer) { |
- return new PointerEvent(type, initializer); |
+ return PointerEvent::Create(type, initializer, TimeTicks::Now()); |
} |
int pointerId() const { return pointer_id_; } |
@@ -41,7 +46,9 @@ class CORE_EXPORT PointerEvent final : public MouseEvent { |
DECLARE_VIRTUAL_TRACE(); |
private: |
- PointerEvent(const AtomicString&, const PointerEventInit&); |
+ PointerEvent(const AtomicString&, |
+ const PointerEventInit&, |
+ TimeTicks platform_time_stamp); |
int pointer_id_; |
double width_; |