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

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

Issue 2041193005: [compositorworker] compositor proxy mutation updates underlying layers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compositor-worker-upstream-registration
Patch Set: Use RAII pattern Created 4 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 function awaitProxyInit(proxy) {
2 return new Promise((resolve, reject) => {
3 function check() {
4 if (proxy.initialized)
5 resolve(proxy);
6 requestAnimationFrame(check);
7 }
8 requestAnimationFrame(check);
9 });
10 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698