| Index: Source/web/tests/WebFrameTest.cpp
|
| diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp
|
| index c03922caf383c0d5a2ab84d3457a1d6476081135..bee2a64c314a65bdf49fae22dc35cd5077ce5590 100644
|
| --- a/Source/web/tests/WebFrameTest.cpp
|
| +++ b/Source/web/tests/WebFrameTest.cpp
|
| @@ -5541,7 +5541,7 @@ TEST_F(WebFrameTest, FullscreenLayerNonScrollable)
|
| Document* document = toWebLocalFrameImpl(webViewImpl->mainFrame())->frame()->document();
|
| blink::UserGestureIndicator gesture(blink::DefinitelyProcessingUserGesture);
|
| Element* divFullscreen = document->getElementById("div1");
|
| - divFullscreen->webkitRequestFullscreen();
|
| + FullscreenElementStack::from(*document).requestFullScreenForElement(*divFullscreen, FullscreenElementStack::PrefixedRequest);
|
| webViewImpl->willEnterFullScreen();
|
| webViewImpl->didEnterFullScreen();
|
| webViewImpl->layout();
|
| @@ -5573,7 +5573,7 @@ TEST_F(WebFrameTest, FullscreenMainFrameScrollable)
|
|
|
| Document* document = toWebLocalFrameImpl(webViewImpl->mainFrame())->frame()->document();
|
| blink::UserGestureIndicator gesture(blink::DefinitelyProcessingUserGesture);
|
| - document->documentElement()->webkitRequestFullscreen();
|
| + FullscreenElementStack::from(*document).requestFullScreenForElement(*document->documentElement(), FullscreenElementStack::PrefixedRequest);
|
| webViewImpl->willEnterFullScreen();
|
| webViewImpl->didEnterFullScreen();
|
| webViewImpl->layout();
|
|
|