DescriptionMake AbstractWorker a ContextLifecycleObserver rather than an ActiveDOMObject
Per the plan described in https://groups.google.com/a/chromium.org/d/topic/blink-dev/UwRGJgLBElo/discussion,
this CL reduces ActiveDOMObjects in the code base.
- This CL replaces ServiceWorker::m_wasStopped with ContextLifecycleObserver::executionContext().
- This CL removes an 'if(AbstractWorker::hasPendingActivity)' check because it always returns true.
BUG=589507
Committed: https://crrev.com/21ab87586c14afb2a22c91b05d932563cba9569d
Cr-Commit-Position: refs/heads/master@{#378332}
Patch Set 1 #
Total comments: 5
Patch Set 2 : #Patch Set 3 : #
Total comments: 2
Messages
Total messages: 22 (6 generated)
|