| Index: Source/web/tests/WebFrameTest.cpp
|
| diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp
|
| index f3d4679483f3be29f9e692d77919a8a905a9f735..a8fd0376329c21ee9f37c97148bb4985a36074c4 100644
|
| --- a/Source/web/tests/WebFrameTest.cpp
|
| +++ b/Source/web/tests/WebFrameTest.cpp
|
| @@ -63,7 +63,6 @@
|
| #include "core/html/HTMLMediaElement.h"
|
| #include "core/input/EventHandler.h"
|
| #include "core/layout/HitTestResult.h"
|
| -#include "core/layout/LayoutFullScreen.h"
|
| #include "core/layout/LayoutView.h"
|
| #include "core/layout/compositing/DeprecatedPaintLayerCompositor.h"
|
| #include "core/loader/DocumentLoader.h"
|
| @@ -6491,7 +6490,8 @@ TEST_P(ParameterizedWebFrameTest, FullscreenLayerSize)
|
| ASSERT_TRUE(Fullscreen::isFullScreen(*document));
|
|
|
| // Verify that the element is sized to the viewport.
|
| - LayoutFullScreen* fullscreenLayoutObject = Fullscreen::from(*document).fullScreenLayoutObject();
|
| + Element* fullscreenElement = Fullscreen::currentFullScreenElementFrom(*document);
|
| + LayoutBox* fullscreenLayoutObject = toLayoutBox(fullscreenElement->layoutObject());
|
| EXPECT_EQ(viewportWidth, fullscreenLayoutObject->logicalWidth().toInt());
|
| EXPECT_EQ(viewportHeight, fullscreenLayoutObject->logicalHeight().toInt());
|
|
|
| @@ -6595,7 +6595,8 @@ TEST_P(ParameterizedWebFrameTest, FullscreenSubframe)
|
| webViewImpl->layout();
|
|
|
| // Verify that the element is sized to the viewport.
|
| - LayoutFullScreen* fullscreenLayoutObject = Fullscreen::from(*document).fullScreenLayoutObject();
|
| + Element* fullscreenElement = Fullscreen::currentFullScreenElementFrom(*document);
|
| + LayoutBox* fullscreenLayoutObject = toLayoutBox(fullscreenElement->layoutObject());
|
| EXPECT_EQ(viewportWidth, fullscreenLayoutObject->logicalWidth().toInt());
|
| EXPECT_EQ(viewportHeight, fullscreenLayoutObject->logicalHeight().toInt());
|
|
|
|
|