Index: Source/core/html/shadow/MediaControlElements.cpp |
diff --git a/Source/core/html/shadow/MediaControlElements.cpp b/Source/core/html/shadow/MediaControlElements.cpp |
index a9c1640aedebaf0e8fa83a3f951d0102f9a11d0d..967f8e3925e82adf9852c07addd24ae903f9f7e1 100644 |
--- a/Source/core/html/shadow/MediaControlElements.cpp |
+++ b/Source/core/html/shadow/MediaControlElements.cpp |
@@ -311,15 +311,6 @@ PassRefPtrWillBeRawPtr<MediaControlOverlayPlayButtonElement> MediaControlOverlay |
return button.release(); |
} |
-void MediaControlOverlayPlayButtonElement::defaultEventHandler(Event* event) |
-{ |
- if (event->type() == EventTypeNames::click && mediaElement().togglePlayStateWillPlay()) { |
- mediaElement().togglePlayState(); |
- updateDisplayType(); |
- event->setDefaultHandled(); |
- } |
-} |
- |
void MediaControlOverlayPlayButtonElement::updateDisplayType() |
{ |
if (mediaElement().shouldShowControls() && mediaElement().togglePlayStateWillPlay()) |