diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/media_controls/elements/media_control_overflow_menu_button_element.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/media_controls/elements/media_control_overflow_menu_button_element.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/third_party/blink/renderer/modules/media_controls/elements/media_control_overflow_menu_button_element.cc b/chromium/third_party/blink/renderer/modules/media_controls/elements/media_control_overflow_menu_button_element.cc index cb2ffa7acc1..a33e4b429cc 100644 --- a/chromium/third_party/blink/renderer/modules/media_controls/elements/media_control_overflow_menu_button_element.cc +++ b/chromium/third_party/blink/renderer/modules/media_controls/elements/media_control_overflow_menu_button_element.cc @@ -16,7 +16,7 @@ namespace blink { MediaControlOverflowMenuButtonElement::MediaControlOverflowMenuButtonElement( MediaControlsImpl& media_controls) : MediaControlInputElement(media_controls, kMediaOverflowButton) { - setType(InputTypeNames::button); + setType(input_type_names::kButton); SetShadowPseudoId(AtomicString("-internal-media-controls-overflow-button")); SetIsWanted(false); } @@ -43,8 +43,8 @@ void MediaControlOverflowMenuButtonElement::UpdateShownState() { void MediaControlOverflowMenuButtonElement::DefaultEventHandler(Event& event) { // Only respond to a click event if we are not disabled. - if (!hasAttribute(HTMLNames::disabledAttr) && - event.type() == EventTypeNames::click) { + if (!hasAttribute(html_names::kDisabledAttr) && + event.type() == event_type_names::kClick) { if (GetMediaControls().OverflowMenuVisible()) { Platform::Current()->RecordAction( UserMetricsAction("Media.Controls.OverflowClose")); |