Don't create a dedicated worker if its process is dead.
This is an optimization to avoid unnecessarily creating a worker if it's going to be immediately destroyed. In addition, the PerformanceManager can not handle a dedicated worker whose render process is dead because that means the frame that created the worker is also already gone. Bug: 993029, 1064772 Change-Id: Id4ffbcfd34f2c23ad7e3381b92358cf543bae6c1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2124536 Commit-Queue: Patrick Monette <pmonette@chromium.org> Reviewed-by:Hiroki Nakagawa <nhiroki@chromium.org> Cr-Commit-Position: refs/heads/master@{#754492}
Showing
Please register or sign in to comment