| Index: third_party/WebKit/Source/web/WebViewImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| index 36cfad32c04150271df88057bed946431469a1a9..fa2f5b20a14f25a95f4607ec5ecea037f4cdc5f2 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| @@ -36,6 +36,7 @@
|
| #include "core/dom/Document.h"
|
| #include "core/dom/DocumentUserGestureToken.h"
|
| #include "core/dom/Fullscreen.h"
|
| +#include "core/dom/FullscreenCallbacks.h"
|
| #include "core/dom/LayoutTreeBuilderTraversal.h"
|
| #include "core/dom/Text.h"
|
| #include "core/editing/EditingUtilities.h"
|
| @@ -2076,11 +2077,13 @@ void WebViewImpl::themeChanged() {
|
| view->invalidateRect(damagedRect);
|
| }
|
|
|
| -void WebViewImpl::enterFullscreenForElement(Element* element) {
|
| - m_fullscreenController->enterFullscreenForElement(element);
|
| +void WebViewImpl::enterFullscreen(
|
| + LocalFrame& frame,
|
| + std::unique_ptr<FullscreenCallbacks> callbacks) {
|
| + m_fullscreenController->enterFullscreen(frame, std::move(callbacks));
|
| }
|
|
|
| -void WebViewImpl::exitFullscreen(LocalFrame* frame) {
|
| +void WebViewImpl::exitFullscreen(LocalFrame& frame) {
|
| m_fullscreenController->exitFullscreen(frame);
|
| }
|
|
|
|
|