Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1519)

Unified Diff: Source/web/tests/WebViewTest.cpp

Issue 19782002: Make Blink stop scheduling its own Layout, and use the compositor's timer instead (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: With test changes Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/testing/MockPagePopupDriver.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « Source/core/testing/MockPagePopupDriver.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698