summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/html/forms/html_form_control_element.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/html/forms/html_form_control_element.cc')
-rw-r--r--chromium/third_party/blink/renderer/core/html/forms/html_form_control_element.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/chromium/third_party/blink/renderer/core/html/forms/html_form_control_element.cc b/chromium/third_party/blink/renderer/core/html/forms/html_form_control_element.cc
index bf6416ebf55..8aa42c94f73 100644
--- a/chromium/third_party/blink/renderer/core/html/forms/html_form_control_element.cc
+++ b/chromium/third_party/blink/renderer/core/html/forms/html_form_control_element.cc
@@ -332,9 +332,9 @@ bool HTMLFormControlElement::IsSuccessfulSubmitButton() const {
// values match, the behavior is to toggle.
HTMLFormControlElement::PopupTargetElement
HTMLFormControlElement::popupTargetElement() const {
- const PopupTargetElement no_element{.element = nullptr,
- .action = PopupTriggerAction::kNone,
- .attribute_name = g_null_name};
+ const PopupTargetElement no_element{/*.element =*/ nullptr,
+ /*.action =*/ PopupTriggerAction::kNone,
+ /*.attribute_name =*/ g_null_name};
if (!RuntimeEnabledFeatures::HTMLPopupAttributeEnabled(
GetDocument().GetExecutionContext()) ||
!IsInTreeScope() ||
@@ -367,9 +367,9 @@ HTMLFormControlElement::popupTargetElement() const {
Element* popup_element = GetTreeScope().getElementById(idref);
if (!popup_element || !popup_element->HasValidPopupAttribute())
return no_element;
- return PopupTargetElement{.element = popup_element,
- .action = action,
- .attribute_name = attribute_name};
+ return PopupTargetElement{/*.element =*/ popup_element,
+ /*.action =*/ action,
+ /*.attribute_name =*/ attribute_name};
}
void HTMLFormControlElement::DefaultEventHandler(Event& event) {