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

Unified Diff: third_party/WebKit/Source/core/html/forms/InputTypeView.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/html/forms/InputTypeView.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/InputTypeView.cpp b/third_party/WebKit/Source/core/html/forms/InputTypeView.cpp
index d6517f562bb3df6933a2a3d3b7590eb33ea084f0..eb5be9419555f08f915be09a08e12e24914f4a89 100644
--- a/third_party/WebKit/Source/core/html/forms/InputTypeView.cpp
+++ b/third_party/WebKit/Source/core/html/forms/InputTypeView.cpp
@@ -71,8 +71,8 @@ void InputTypeView::dispatchSimulatedClickIfActive(KeyboardEvent* event) const {
}
void InputTypeView::accessKeyAction(bool) {
- element().focus(
- FocusParams(SelectionBehaviorOnFocus::Reset, WebFocusTypeNone, nullptr));
+ element().focus(FocusParams(SelectionBehaviorOnFocus::Reset, WebFocusTypeNone,
+ InputDeviceCapabilities::Null));
}
bool InputTypeView::shouldSubmitImplicitly(Event* event) {

Powered by Google App Engine
This is Rietveld 408576698