DescriptionSharedWorker: 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}
Committed: https://chromium.googlesource.com/chromium/src/+/3898922f0e5f70f0cbd8a7edbc6d7001b0d60ec5
Patch Set 1 #
Total comments: 2
Patch Set 2 : move Send() to 'private' section #
Messages
Total messages: 21 (16 generated)
|