| Index: Source/web/tests/WebFrameTest.cpp
|
| diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp
|
| index 264c4f204e40c854e67ce2b38e4f3701ae980905..01876cb49cc943022174da5d1e18b51145ea816f 100644
|
| --- a/Source/web/tests/WebFrameTest.cpp
|
| +++ b/Source/web/tests/WebFrameTest.cpp
|
| @@ -5692,17 +5692,17 @@ TEST_F(WebFrameTest, FullscreenLayerNonScrollable)
|
| webViewImpl->didEnterFullScreen();
|
| webViewImpl->layout();
|
|
|
| - // Verify that the main frame is not scrollable.
|
| + // Verify that the main frame bounds are empty.
|
| ASSERT_TRUE(Fullscreen::isFullScreen(*document));
|
| WebLayer* webScrollLayer = webViewImpl->compositor()->scrollLayer()->platformLayer();
|
| - ASSERT_FALSE(webScrollLayer->scrollable());
|
| + ASSERT_EQ(WebSize(), webScrollLayer->bounds());
|
|
|
| // Verify that the main frame is scrollable upon exiting fullscreen.
|
| webViewImpl->didExitFullScreen();
|
| webViewImpl->layout();
|
| ASSERT_FALSE(Fullscreen::isFullScreen(*document));
|
| webScrollLayer = webViewImpl->compositor()->scrollLayer()->platformLayer();
|
| - ASSERT_TRUE(webScrollLayer->scrollable());
|
| + ASSERT_NE(WebSize(), webScrollLayer->bounds());
|
| }
|
|
|
| TEST_F(WebFrameTest, FullscreenMainFrameScrollable)
|
|
|