Index: Source/core/html/shadow/MediaControlElements.cpp |
diff --git a/Source/core/html/shadow/MediaControlElements.cpp b/Source/core/html/shadow/MediaControlElements.cpp |
index 674675fbff9b3a3ff7b8545a33b75bb5642594bf..c5455e7c3d2dbedbe003bcd67d0cc97e03436059 100644 |
--- a/Source/core/html/shadow/MediaControlElements.cpp |
+++ b/Source/core/html/shadow/MediaControlElements.cpp |
@@ -492,10 +492,10 @@ PassRefPtrWillBeRawPtr<MediaControlFullscreenButtonElement> MediaControlFullscre |
void MediaControlFullscreenButtonElement::defaultEventHandler(Event* event) |
{ |
if (event->type() == EventTypeNames::click) { |
- if (FullscreenElementStack::isActiveFullScreenElement(&mediaElement())) |
+ if (FullscreenElementStack::isActiveFullScreenElement(mediaElement())) |
FullscreenElementStack::from(document()).webkitCancelFullScreen(); |
else |
- FullscreenElementStack::from(document()).requestFullScreenForElement(&mediaElement(), 0, FullscreenElementStack::ExemptIFrameAllowFullScreenRequirement); |
+ FullscreenElementStack::from(document()).requestFullScreenForElement(mediaElement(), 0, FullscreenElementStack::ExemptIFrameAllowFullScreenRequirement); |
event->setDefaultHandled(); |
} |
HTMLInputElement::defaultEventHandler(event); |