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

Unified Diff: LayoutTests/compositing/overflow/overflow-scroll.html

Issue 235933002: Defer updateCompositingRequirementsState until the compositing update (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add DeprecatedDirtyCompositingDuringCompositingUpdate Created 6 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
« no previous file with comments | « no previous file | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/compositing/overflow/overflow-scroll.html
diff --git a/LayoutTests/compositing/overflow/overflow-scroll.html b/LayoutTests/compositing/overflow/overflow-scroll.html
index aa10dc5e3a8c6ea8aa82980a25157690fe6d6121..742e1faa1846ac207fbc8a3764b6cfc659f90eb2 100644
--- a/LayoutTests/compositing/overflow/overflow-scroll.html
+++ b/LayoutTests/compositing/overflow/overflow-scroll.html
@@ -35,8 +35,12 @@
scrollables[i].scrollTop = 50;
}
- if (window.testRunner)
- testRunner.notifyDone();
+ requestAnimationFrame(function() {
+ setTimeout(function() {
+ if (window.testRunner)
+ testRunner.notifyDone();
+ });
+ });
}
window.addEventListener('load', doTest, false);
« no previous file with comments | « no previous file | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698