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

Unified Diff: third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/worker-common.js

Issue 2119383002: [compositorworker] Avoid deadlock issue caused by importScript (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
Index: third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/worker-common.js
diff --git a/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/worker-common.js b/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/worker-common.js
deleted file mode 100644
index 88d5a1824422154b112fbb0f31d76c3d78903cb8..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/worker-common.js
+++ /dev/null
@@ -1,10 +0,0 @@
-function awaitProxyInit(proxy) {
- return new Promise((resolve, reject) => {
- function check() {
- if (proxy.initialized)
- resolve(proxy);
- requestAnimationFrame(check);
- }
- requestAnimationFrame(check);
- });
-}

Powered by Google App Engine
This is Rietveld 408576698