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

Unified Diff: third_party/WebKit/Source/web/tests/WebFrameTest.cpp

Issue 1397713004: Don't bother layout until first navigation is done. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Document::isInitialEmptyDocument() Created 4 years, 11 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
Index: third_party/WebKit/Source/web/tests/WebFrameTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
index e821c3b4a8c796d86e7933a911e7f8e83a1c85e6..da156f692ed535463f268eb0a3314831c7fae9d7 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -4713,7 +4713,7 @@ TEST_P(ParameterizedWebFrameTest, CompositedSelectionBoundsCleared)
// The frame starts with no selection.
WebFrame* frame = webViewHelper.webView()->mainFrame();
ASSERT_TRUE(frame->hasSelection());
- EXPECT_TRUE(fakeSelectionLayerTreeView.getAndResetSelectionCleared());
+ EXPECT_FALSE(fakeSelectionLayerTreeView.selection());
// The selection cleared notification should be triggered upon layout.
frame->executeCommand(WebString::fromUTF8("Unselect"));

Powered by Google App Engine
This is Rietveld 408576698