Index: third_party/WebKit/Source/core/html/shadow/MediaControlElementTypes.cpp |
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControlElementTypes.cpp b/third_party/WebKit/Source/core/html/shadow/MediaControlElementTypes.cpp |
index 882892c1521e74d72b8ac14b68648c7c0a243a72..44579a22d2736ed2d2922586d9014f6bcac22e07 100644 |
--- a/third_party/WebKit/Source/core/html/shadow/MediaControlElementTypes.cpp |
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControlElementTypes.cpp |
@@ -168,16 +168,6 @@ bool MediaControlInputElement::isMouseFocusable() const { |
return false; |
} |
-void MediaControlInputElement::defaultEventHandler(Event* event) { |
- // If the element is in the overflow menu, clicking should hide the menu. |
- if (mediaControls().overflowMenuVisible() && |
- parentElement()->shadowPseudoId() == |
- AtomicString("-internal-media-controls-overflow-menu-list-item")) |
- mediaControls().toggleOverflowMenu(); |
- |
- HTMLInputElement::defaultEventHandler(event); |
-} |
- |
HTMLElement* MediaControlInputElement::createOverflowElement( |
MediaControls& mediaControls, |
MediaControlInputElement* button) { |