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

Unified Diff: third_party/WebKit/Source/core/dom/Fullscreen.cpp

Issue 1858583002: Simplify LifecycleNotifier and Observer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more removals Created 4 years, 9 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/dom/Fullscreen.cpp
diff --git a/third_party/WebKit/Source/core/dom/Fullscreen.cpp b/third_party/WebKit/Source/core/dom/Fullscreen.cpp
index ced95681a56b7399eb7cce903ca288c35b433681..56cd044146d6123cda566f9e60a3586254a33c3e 100644
--- a/third_party/WebKit/Source/core/dom/Fullscreen.cpp
+++ b/third_party/WebKit/Source/core/dom/Fullscreen.cpp
@@ -193,22 +193,10 @@ void Fullscreen::documentWasDetached()
if (m_fullScreenLayoutObject)
m_fullScreenLayoutObject->destroy();
-#if ENABLE(OILPAN)
m_fullScreenElement = nullptr;
m_fullScreenElementStack.clear();
-#endif
-
-}
-#if !ENABLE(OILPAN)
-void Fullscreen::documentWasDisposed()
-{
- // NOTE: the context dispose phase is not supported in oilpan. Please
- // consider using the detach phase instead.
- m_fullScreenElement = nullptr;
- m_fullScreenElementStack.clear();
}
-#endif
void Fullscreen::requestFullscreen(Element& element, RequestType requestType)
{

Powered by Google App Engine
This is Rietveld 408576698