Sign in
chromium
/
chromium
/
src
/
ee4cbfea75629407af2b0377ca2567540081430d
/
.
/
third_party
/
WebKit
/
LayoutTests
/
virtual
/
threaded
/
fast
/
compositorworker
/
resources
/
worker-common.js
blob: 88d5a1824422154b112fbb0f31d76c3d78903cb8 [
file
] [
log
] [
blame
]
function
awaitProxyInit
(
proxy
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
function
check
()
{
if
(
proxy
.
initialized
)
resolve
(
proxy
);
requestAnimationFrame
(
check
);
}
requestAnimationFrame
(
check
);
});
}