Index: Source/core/html/HTMLMediaElement.cpp |
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp |
index 3a224309144a97d5f754f286a4d004141e738c9c..680c397cfcfd1bebf32d7475427bfa94ba021565 100644 |
--- a/Source/core/html/HTMLMediaElement.cpp |
+++ b/Source/core/html/HTMLMediaElement.cpp |
@@ -3453,14 +3453,14 @@ void HTMLMediaElement::contextDestroyed() |
bool HTMLMediaElement::isFullscreen() const |
{ |
- return FullscreenElementStack::isActiveFullScreenElement(this); |
+ return FullscreenElementStack::isActiveFullScreenElement(*this); |
} |
void HTMLMediaElement::enterFullscreen() |
{ |
WTF_LOG(Media, "HTMLMediaElement::enterFullscreen"); |
- FullscreenElementStack::from(document()).requestFullScreenForElement(this, 0, FullscreenElementStack::ExemptIFrameAllowFullScreenRequirement); |
+ FullscreenElementStack::from(document()).requestFullScreenForElement(*this, 0, FullscreenElementStack::ExemptIFrameAllowFullScreenRequirement); |
} |
void HTMLMediaElement::exitFullscreen() |