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

Unified Diff: third_party/WebKit/Source/core/dom/Document.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Element.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index 03a65cf6a6ec13f79de3710a15377b2db0ef2274..0c6c18e58cf4b71de72da15fb1e368b4dfbe2da1 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -4083,8 +4083,9 @@ SetFocusedElementDone:
}
void Document::clearFocusedElement() {
- setFocusedElement(nullptr, FocusParams(SelectionBehaviorOnFocus::None,
- WebFocusTypeNone, nullptr));
+ setFocusedElement(
+ nullptr, FocusParams(SelectionBehaviorOnFocus::None, WebFocusTypeNone,
+ InputDeviceCapabilities::Null));
}
void Document::setSequentialFocusNavigationStartingPoint(Node* node) {
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698