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

Unified Diff: third_party/WebKit/Source/web/FullscreenController.cpp

Issue 2147803002: Clean up some OOPIF-related naming and comments in Fullscreen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/web/FullscreenController.cpp
diff --git a/third_party/WebKit/Source/web/FullscreenController.cpp b/third_party/WebKit/Source/web/FullscreenController.cpp
index 39914a73940dcf01d9f2124f027be96f377eb904..a667c47e84ac410941ec5f55ba645afb4b46b787 100644
--- a/third_party/WebKit/Source/web/FullscreenController.cpp
+++ b/third_party/WebKit/Source/web/FullscreenController.cpp
@@ -156,7 +156,7 @@ void FullscreenController::enterFullScreenForElement(Element* element)
// We need to transition to fullscreen mode.
WebLocalFrameImpl* frame = WebLocalFrameImpl::fromFrame(element->document().frame());
if (frame && frame->client()) {
- if (!Fullscreen::from(element->document()).forCrossProcessAncestor())
+ if (!Fullscreen::from(element->document()).forCrossProcessDescendant())
frame->client()->enterFullscreen();
m_provisionalFullScreenElement = element;
}

Powered by Google App Engine
This is Rietveld 408576698