| 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 6e143691a96d5526b41ca1c14d4750c2d4a0dc0d..0b506896f046d519abcab5fe8dbf9e31e5dcbf0e 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;
|
| }
|
|
|