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

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

Issue 2834183002: Add time stamp to the constructor of the events (Closed)
Patch Set: Fix typos Created 3 years, 8 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
Index: third_party/WebKit/Source/core/events/UIEventWithKeyState.cpp
diff --git a/third_party/WebKit/Source/core/events/UIEventWithKeyState.cpp b/third_party/WebKit/Source/core/events/UIEventWithKeyState.cpp
index 3acf4c046e463325cb145d5ba80723d7a9fd6c98..231d3caa9279915c2528d3a7ad02b60ce08f0dee 100644
--- a/third_party/WebKit/Source/core/events/UIEventWithKeyState.cpp
+++ b/third_party/WebKit/Source/core/events/UIEventWithKeyState.cpp
@@ -42,8 +42,9 @@ UIEventWithKeyState::UIEventWithKeyState(
modifiers_(modifiers) {}
UIEventWithKeyState::UIEventWithKeyState(const AtomicString& type,
- const EventModifierInit& initializer)
- : UIEvent(type, initializer), modifiers_(0) {
+ const EventModifierInit& initializer,
+ TimeTicks platform_time_stamp)
+ : UIEvent(type, initializer, platform_time_stamp), modifiers_(0) {
if (initializer.ctrlKey())
modifiers_ |= WebInputEvent::kControlKey;
if (initializer.shiftKey())

Powered by Google App Engine
This is Rietveld 408576698