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

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

Issue 2835403002: Call ScrollableArea::ShowOverlayScrollbars for explicit scrolls only. (Closed)
Patch Set: fix VisualViewport Created 3 years, 8 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 17a956bca081debcdd4b2a511b271d45d8b38b36..3aa320f5de93c1f2d0a292f95b0dc1e466b9ab16 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -11579,9 +11579,6 @@ TEST_F(WebFrameTest, TestNonCompositedOverlayScrollbarsFade) {
frame->ExecuteScript(WebScriptSource(
"document.getElementById('space').style.height = '500px';"));
frame->View()->UpdateAllLifecyclePhases();
-
- EXPECT_FALSE(scrollable_area->ScrollbarsHidden());
- testing::RunDelayedTasks(kMockOverlayFadeOutDelayMs);
EXPECT_TRUE(scrollable_area->ScrollbarsHidden());
frame->ExecuteScript(WebScriptSource(

Powered by Google App Engine
This is Rietveld 408576698