Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/core/events/KeyboardEvent.cpp

Issue 1352523002: Use high precision timestamp for Event.timestamp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/core/events/KeyboardEvent.cpp
diff --git a/third_party/WebKit/Source/core/events/KeyboardEvent.cpp b/third_party/WebKit/Source/core/events/KeyboardEvent.cpp
index 1d71c349a9401e838a7ff0634ab194334708bed0..e9846d0b8452a192059cbc135abc72a8d5d18a28 100644
--- a/third_party/WebKit/Source/core/events/KeyboardEvent.cpp
+++ b/third_party/WebKit/Source/core/events/KeyboardEvent.cpp
@@ -82,7 +82,7 @@ KeyboardEvent::KeyboardEvent(const PlatformKeyboardEvent& key, AbstractView* vie
, m_location(keyLocationCode(key))
, m_isAutoRepeat(key.isAutoRepeat())
{
- setUICreateTime(key.timestamp());
+ setPlatformTimeStamp(key.timestamp());
}
KeyboardEvent::KeyboardEvent(const AtomicString& eventType, const KeyboardEventInit& initializer)

Powered by Google App Engine