Index: Source/web/tests/WebViewTest.cpp |
diff --git a/Source/web/tests/WebViewTest.cpp b/Source/web/tests/WebViewTest.cpp |
index 09bb6cf9ae2bf034e69f6073646b682f9d9ba722..e094b93800beac91ec896a17fd9a167a2acd29df 100644 |
--- a/Source/web/tests/WebViewTest.cpp |
+++ b/Source/web/tests/WebViewTest.cpp |
@@ -302,11 +302,11 @@ void WebViewTest::testAutoResize(const WebSize& minAutoResize, const WebSize& ma |
WebFrameImpl* frame = static_cast<WebFrameImpl*>(webView->mainFrame()); |
WebCore::FrameView* frameView = frame->frame()->view(); |
frameView->layout(); |
- EXPECT_FALSE(frameView->layoutPending()); |
+ EXPECT_FALSE(frameView->layoutIsScheduledWithEmbedder()); |
EXPECT_FALSE(frameView->needsLayout()); |
webView->enableAutoResizeMode(minAutoResize, maxAutoResize); |
- EXPECT_TRUE(frameView->layoutPending()); |
+ EXPECT_TRUE(frameView->layoutIsScheduledWithEmbedder()); |
EXPECT_TRUE(frameView->needsLayout()); |
frameView->layout(); |