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

Unified Diff: third_party/WebKit/Source/core/dom/Node.cpp

Issue 2821303005: [selectors4] Use common ancestor strategy for :focus-within (Closed)
Patch Set: Created 3 years, 8 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/dom/Node.cpp
diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp
index a61464b7c7b714a55b57fa53ef6c8f894772ec11..6fbe0f990b177b9eb740e752e6f5fa59bc1ec0f3 100644
--- a/third_party/WebKit/Source/core/dom/Node.cpp
+++ b/third_party/WebKit/Source/core/dom/Node.cpp
@@ -2370,7 +2370,9 @@ HTMLSlotElement* Node::assignedSlotForBinding() {
return nullptr;
}
-void Node::SetFocused(bool flag, WebFocusType focus_type) {
+void Node::SetFocused(bool flag,
+ WebFocusType focus_type,
+ Node* common_ancestor) {
GetDocument().UserActionElements().SetFocused(this, flag);
}

Powered by Google App Engine
This is Rietveld 408576698