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

Unified Diff: third_party/WebKit/Source/core/html/HTMLAreaElement.h

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/html/HTMLAreaElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLAreaElement.h b/third_party/WebKit/Source/core/html/HTMLAreaElement.h
index 18de31b93270ab9743c57f89441c1135db11f32d..8fe81e83ff4be485de3264d4eb55173feb298221 100644
--- a/third_party/WebKit/Source/core/html/HTMLAreaElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLAreaElement.h
@@ -66,7 +66,7 @@ class CORE_EXPORT HTMLAreaElement final : public HTMLAnchorElement {
bool IsMouseFocusable() const override;
bool LayoutObjectIsFocusable() const override;
void UpdateFocusAppearance(SelectionBehaviorOnFocus) override;
- void SetFocused(bool, WebFocusType) override;
+ void SetFocused(bool, WebFocusType, Node* common_ancestor = nullptr) override;
enum Shape { kDefault, kPoly, kRect, kCircle };
void InvalidateCachedPath();

Powered by Google App Engine
This is Rietveld 408576698