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

Unified Diff: Source/web/WebDocument.cpp

Issue 485953003: Make Fullscreen::fullyExitFullscreen() static (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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
« no previous file with comments | « Source/web/FullscreenController.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebDocument.cpp
diff --git a/Source/web/WebDocument.cpp b/Source/web/WebDocument.cpp
index 61478141e5f84e4e11e28b8b186de9de3c16a563..84f573cbf322af713ca567b1cd3b6ba000734f35 100644
--- a/Source/web/WebDocument.cpp
+++ b/Source/web/WebDocument.cpp
@@ -227,8 +227,7 @@ void WebDocument::watchCSSSelectors(const WebVector<WebString>& webSelectors)
void WebDocument::cancelFullScreen()
{
- if (Fullscreen* fullscreen = Fullscreen::fromIfExists(*unwrap<Document>()))
- fullscreen->fullyExitFullscreen();
+ Fullscreen::fullyExitFullscreen(*unwrap<Document>());
}
WebElement WebDocument::fullScreenElement() const
« no previous file with comments | « Source/web/FullscreenController.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698