AudioWorkletObjectProxy::DidEvaluateModuleScript to post a loading task.
We wish to prioritize loading and compositing tasks till FCP, but that changes the order in which the task posted by AudioWorkletObjectProxy::DidEvaluateModuleScript runs in relation to other loading tasks (it's called by WorkletModuleTreeClient::NotifyModuleTreeLoadFinished). Changing this task to be TaskType::kInternalLoad preserves the original order with the new scheduler policy. Bug: 971191 Change-Id: I1d80a9c7dd7e9c97b7303b087506caa9e51981d8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1819255 Commit-Queue: Alex Clarke <alexclarke@chromium.org> Reviewed-by:Alexander Timin <altimin@chromium.org> Reviewed-by:
Hongchan Choi <hongchan@chromium.org> Cr-Commit-Position: refs/heads/master@{#699684}
Showing
Please register or sign in to comment