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

Unified Diff: third_party/WebKit/Source/core/input/KeyboardEventManager.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. 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/input/KeyboardEventManager.cpp
diff --git a/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp b/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp
index a7076a8a11870013d3ef71eabffff4b4ec02f008..cddfd82f580619ef2dc86b8a80d6e7264c36cade 100644
--- a/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp
+++ b/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp
@@ -396,10 +396,7 @@ void KeyboardEventManager::defaultTabEventHandler(KeyboardEvent* event) {
return;
if (page->focusController().advanceFocus(focusType,
- m_frame->document()
- ->domWindow()
- ->getInputDeviceCapabilities()
- ->firesTouchEvents(false)))
+ InputDeviceCapabilities::None))
event->setDefaultHandled();
}

Powered by Google App Engine
This is Rietveld 408576698