Chromium Code Reviews
Descriptionservice worker: Refactor OnNoControllees
OnNoControllees doesn't need to unset the flags.
* If |is_uninstalling_| is set, the call to Clear() would unset it.
* If |should_activate_when_ready_| is set, the call to ActivateWaitingVersion() would
unset it. We also change Clear() to unset |should_activate_when_ready_| which
makes sense for any callsite of Clear().
Minor simplification in anticipation of changes for https://crbug.com/616331
Refactoring only; no behavior change.
BUG=616331
Committed: https://crrev.com/6c74874b9c6969a2afc6f195c96a1a3b15cda890
Cr-Commit-Position: refs/heads/master@{#403650}
Patch Set 1 #
Total comments: 3
Messages
Total messages: 12 (3 generated)
|
|||||||||||||||||||