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 e7581e89641e43fe8bd7ffc3d7428ece99f9be6b..3c8a20e74c9888b68ddf01cb5b4dc438419a065a 100644 |
--- a/third_party/WebKit/Source/core/events/KeyboardEvent.cpp |
+++ b/third_party/WebKit/Source/core/events/KeyboardEvent.cpp |
@@ -97,9 +97,7 @@ KeyboardEvent::KeyboardEvent(const WebKeyboardEvent& key, |
0, |
static_cast<PlatformEvent::Modifiers>(key.modifiers()), |
TimeTicks::FromSeconds(key.timeStampSeconds()), |
- domWindow |
- ? domWindow->getInputDeviceCapabilities()->firesTouchEvents(false) |
- : nullptr), |
+ InputDeviceCapabilities::None), |
m_keyEvent(WTF::makeUnique<WebKeyboardEvent>(key)), |
// TODO(crbug.com/482880): Fix this initialization to lazy initialization. |
m_code(Platform::current()->domCodeStringFromEnum(key.domCode)), |