Index: third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/basic-plumbing-main-to-worker.js |
diff --git a/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/basic-plumbing-main-to-worker.js b/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/basic-plumbing-main-to-worker.js |
index 995c75acc0498c4b47077f141e54bb0025ca57fb..f72eb5e7f4b3e907a1856fd4ffb46fd51aa6a00b 100644 |
--- a/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/basic-plumbing-main-to-worker.js |
+++ b/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/basic-plumbing-main-to-worker.js |
@@ -18,7 +18,8 @@ function awaitProxyInit(proxy) { |
function check() { |
if (proxy.initialized) |
resolve(proxy); |
- requestAnimationFrame(check); |
+ else |
+ requestAnimationFrame(check); |
} |
requestAnimationFrame(check); |
}); |