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

Unified Diff: third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/visual-update.js

Issue 2124143004: [compositorworker] stop scheduling rAF in layout tests once promise is resolved (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/proxy-mutate.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/visual-update.js
diff --git a/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/visual-update.js b/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/visual-update.js
index 8eef06661ace7e1afa5d7932e0861a247b2d1746..0e663de8ca839313508924b101c60e3dc2f92b03 100644
--- a/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/visual-update.js
+++ b/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/visual-update.js
@@ -15,7 +15,8 @@ function awaitProxyInit(proxy) {
function check() {
if (proxy.initialized)
resolve(proxy);
- requestAnimationFrame(check);
+ else
+ requestAnimationFrame(check);
}
requestAnimationFrame(check);
});
« no previous file with comments | « third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/proxy-mutate.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698