Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp

Issue 2325663002: Make Fullscreen::requestFullscreen and exitFullscreen static (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
index 30af245cf3d411a084b0fa52267bdf23303d3786..bd2144dfb9b901bed5592bb9e21165eedb07f9da 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
@@ -3294,14 +3294,14 @@ void HTMLMediaElement::enterFullscreen()
{
BLINK_MEDIA_LOG << "enterFullscreen(" << (void*)this << ")";
- Fullscreen::from(document()).requestFullscreen(*this, Fullscreen::PrefixedRequest);
+ Fullscreen::requestFullscreen(*this, Fullscreen::PrefixedRequest);
}
void HTMLMediaElement::exitFullscreen()
{
BLINK_MEDIA_LOG << "exitFullscreen(" << (void*)this << ")";
- Fullscreen::from(document()).exitFullscreen();
+ Fullscreen::exitFullscreen(document());
}
void HTMLMediaElement::didBecomeFullscreenElement()

Powered by Google App Engine
This is Rietveld 408576698