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

Unified Diff: Source/core/dom/Fullscreen.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/core/dom/Fullscreen.h ('k') | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Fullscreen.cpp
diff --git a/Source/core/dom/Fullscreen.cpp b/Source/core/dom/Fullscreen.cpp
index 75ae8baac46305c9e391c2124201c6777be581d9..58f7605634c7aa09bec279a13ab9487b2d73a45a 100644
--- a/Source/core/dom/Fullscreen.cpp
+++ b/Source/core/dom/Fullscreen.cpp
@@ -295,12 +295,12 @@ void Fullscreen::requestFullscreen(Element& element, RequestType requestType)
enqueueErrorEvent(element, requestType);
}
-void Fullscreen::fullyExitFullscreen()
+void Fullscreen::fullyExitFullscreen(Document& document)
{
// To fully exit fullscreen, run these steps:
// 1. Let |doc| be the top-level browsing context's document.
- Document& doc = document()->topDocument();
+ Document& doc = document.topDocument();
// 2. If |doc|'s fullscreen element stack is empty, terminate these steps.
if (!fullscreenElementFrom(doc))
« no previous file with comments | « Source/core/dom/Fullscreen.h ('k') | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698