SharedWorker: Document lifetime of SharedWorkerHost
This is a followup CL for [1] and does following things: - documents lifetime of SharedWorkerHost. - removes SharedWorkerHost::WorkerContextDestroyed that clears member fields. This is not meaningful because the host is destructed immediately after this function. - removes |instance_| checks because it's always valid. [1] https://codereview.chromium.org/2601893002/#msg39 BUG=612308 Review-Url: https://codereview.chromium.org/2614013004 Cr-Commit-Position: refs/heads/master@{#441895}
Showing
Please register or sign in to comment