Chromium Code Reviews

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

Issue 2678683002: Delay instantiating InputDeviceCapabilities until accessed. (Closed)
Patch Set: rebased Created 3 years, 10 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/GestureEvent.cpp
diff --git a/third_party/WebKit/Source/core/events/GestureEvent.cpp b/third_party/WebKit/Source/core/events/GestureEvent.cpp
index 1943c764be76b4fb6f30cc0307a6a4d3f7f6cb03..36a34e7d18b960a02eaede5a197ba87d715e92d2 100644
--- a/third_party/WebKit/Source/core/events/GestureEvent.cpp
+++ b/third_party/WebKit/Source/core/events/GestureEvent.cpp
@@ -84,7 +84,7 @@ GestureEvent::GestureEvent(const AtomicString& eventType,
0,
static_cast<PlatformEvent::Modifiers>(event.modifiers()),
TimeTicks::FromSeconds(event.timeStampSeconds()),
- nullptr),
+ InputDeviceCapabilities::Null),
m_nativeEvent(event) {}
const AtomicString& GestureEvent::interfaceName() const {
« no previous file with comments | « third_party/WebKit/Source/core/events/FocusEvent.cpp ('k') | third_party/WebKit/Source/core/events/KeyboardEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine