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

Unified Diff: LayoutTests/fast/css/font-face-css-change-while-loading.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/fast/css/font-face-css-change-while-loading.html
diff --git a/LayoutTests/fast/css/font-face-css-change-while-loading.html b/LayoutTests/fast/css/font-face-css-change-while-loading.html
index bb985543bcd4bb0cbed11f464d4edb8f86f802d8..cfd92673710527e854c74aaceedb950354d253b4 100644
--- a/LayoutTests/fast/css/font-face-css-change-while-loading.html
+++ b/LayoutTests/fast/css/font-face-css-change-while-loading.html
@@ -35,7 +35,7 @@ function finish() {
}
onload = function() {
- setTimeout(runTest, 0);
+ requestAnimationFrame(runTest);
}
</script>
<p>You should see a black rectangle below.</p>

Powered by Google App Engine
This is Rietveld 408576698