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

Unified Diff: LayoutTests/css3/flexbox/repaint-rtl-column.html

Issue 615033002: Refactor of various layout tests to use RAF (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix use-detatch.svg Created 6 years, 2 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: LayoutTests/css3/flexbox/repaint-rtl-column.html
diff --git a/LayoutTests/css3/flexbox/repaint-rtl-column.html b/LayoutTests/css3/flexbox/repaint-rtl-column.html
index 4f1a9f1e94458559099308fd3932a4529a26e6c1..39b187abaa612a5d153880ab62351a858bb01973 100644
--- a/LayoutTests/css3/flexbox/repaint-rtl-column.html
+++ b/LayoutTests/css3/flexbox/repaint-rtl-column.html
@@ -36,9 +36,9 @@ window.testIsAsync = true;
window.onload = runRepaintTest;
function repaintTest() {
- setTimeout(function() {
+ requestAnimationFrame(function() {
setFlex(4.6);
- setTimeout(function() {
+ requestAnimationFrame(function() {
setFlex(5);
finishRepaintTest();
})

Powered by Google App Engine
This is Rietveld 408576698