ScopedObservation: CHECK on double observation.
Because base::ScopedObservation is strictly a singular observation, it has exposed at least one latent release blocker bug on replacing ScopedObserver. Unfortunately this manifested as a use-after-free, as there was no test or build with DCHECK_IS_ON that covered this case. See https://crbug.com/1153961#c14 for the details. Bug: 1145565 Change-Id: Ibe198ca413e94676fa5dac3b94837b9999b3cb59 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2627763Reviewed-by:François Doray <fdoray@chromium.org> Commit-Queue: Sigurður Ásgeirsson <siggi@chromium.org> Cr-Commit-Position: refs/heads/master@{#843641}
Showing
Please register or sign in to comment