[blink] Clear the ScriptResource watcher on IsLoaded
The loaded state could come from an external error, so the watcher may not have picked it up yet. Just explicitly cancel the watcher rather than trying to CHECK for it being closed in time. Bug: 944390 Change-Id: I575b1b0b40c11a7db5f4d81d4b5ef358436e859c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1532011Reviewed-by:Yutaka Hirano <yhirano@chromium.org> Commit-Queue: Leszek Swirski <leszeks@chromium.org> Cr-Commit-Position: refs/heads/master@{#644211}
Showing
Please register or sign in to comment