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

Unified Diff: third_party/WebKit/Source/core/html/forms/DateTimeNumericFieldElement.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/forms/DateTimeNumericFieldElement.h
diff --git a/third_party/WebKit/Source/core/html/forms/DateTimeNumericFieldElement.h b/third_party/WebKit/Source/core/html/forms/DateTimeNumericFieldElement.h
index 5b409998b1cacbb5f968c66ac9339be2fd659434..d534e4faae9f731a82f590dd0233685738e97d84 100644
--- a/third_party/WebKit/Source/core/html/forms/DateTimeNumericFieldElement.h
+++ b/third_party/WebKit/Source/core/html/forms/DateTimeNumericFieldElement.h
@@ -94,7 +94,7 @@ class DateTimeNumericFieldElement : public DateTimeFieldElement {
String Value() const final;
// Node functions.
- void SetFocused(bool, WebFocusType) final;
+ void SetFocused(bool, WebFocusType, Node* common_ancestor = nullptr) final;
String FormatValue(int) const;
int RoundUp(int) const;

Powered by Google App Engine
This is Rietveld 408576698