| Index: Source/core/dom/FullscreenElementStack.cpp
|
| diff --git a/Source/core/dom/FullscreenElementStack.cpp b/Source/core/dom/FullscreenElementStack.cpp
|
| index 21277f4eaae5ce992f02060187cf763c4e2f9cbe..b72b25b7c0d0ad03ad4d7e8601b951ddecd330ef 100644
|
| --- a/Source/core/dom/FullscreenElementStack.cpp
|
| +++ b/Source/core/dom/FullscreenElementStack.cpp
|
| @@ -240,7 +240,7 @@ void FullscreenElementStack::requestFullScreenForElement(Element* element, unsig
|
| // 5. Return, and run the remaining steps asynchronously.
|
| // 6. Optionally, perform some animation.
|
| m_areKeysEnabledInFullScreen = flags & Element::ALLOW_KEYBOARD_INPUT;
|
| - document()->page()->chrome().client()->enterFullScreenForElement(element);
|
| + document()->page()->chrome().client().enterFullScreenForElement(element);
|
|
|
| // 7. Optionally, display a message indicating how the user can exit displaying the context object fullscreen.
|
| return;
|
| @@ -331,12 +331,12 @@ void FullscreenElementStack::webkitExitFullscreen()
|
| // Only exit out of full screen window mode if there are no remaining elements in the
|
| // full screen stack.
|
| if (!newTop) {
|
| - document()->page()->chrome().client()->exitFullScreenForElement(m_fullScreenElement.get());
|
| + document()->page()->chrome().client().exitFullScreenForElement(m_fullScreenElement.get());
|
| return;
|
| }
|
|
|
| // Otherwise, notify the chrome of the new full screen element.
|
| - document()->page()->chrome().client()->enterFullScreenForElement(newTop);
|
| + document()->page()->chrome().client().enterFullScreenForElement(newTop);
|
| }
|
|
|
| bool FullscreenElementStack::webkitFullscreenEnabled(Document* document)
|
|
|