Index: Source/core/html/shadow/MediaControlElements.cpp |
diff --git a/Source/core/html/shadow/MediaControlElements.cpp b/Source/core/html/shadow/MediaControlElements.cpp |
index a6160fe088cae309d0b5ed36b46a924ade9e6480..2b7686b808d4e91b0856305476b2d60528ec1cac 100644 |
--- a/Source/core/html/shadow/MediaControlElements.cpp |
+++ b/Source/core/html/shadow/MediaControlElements.cpp |
@@ -271,16 +271,6 @@ PassRefPtr<MediaControlOverlayPlayButtonElement> MediaControlOverlayPlayButtonEl |
return button.release(); |
} |
-void MediaControlOverlayPlayButtonElement::defaultEventHandler(Event* event) |
-{ |
- if (event->type() == EventTypeNames::click && mediaElement().togglePlayStateWillPlay()) { |
- mediaElement().togglePlayState(); |
- updateDisplayType(); |
- event->setDefaultHandled(); |
- } |
- HTMLInputElement::defaultEventHandler(event); |
-} |
- |
void MediaControlOverlayPlayButtonElement::updateDisplayType() |
{ |
if (mediaElement().togglePlayStateWillPlay()) { |