commit | ce366df003079ef814a706df8a3ff11a2af96cea | [log] [tgz] |
---|---|---|
author | Sean Topping <seantopping@chromium.org> | Tue Mar 05 20:50:47 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Mar 05 20:50:47 2019 |
tree | 02e8ceb0e1932948ac262f0bdb8dfbe2eae75e70 | |
parent | 7c2a5be67b93992b9caef2db6d4286421b103f55 [diff] |
[Chromecast] CWC: Check page state before notifying observers During observer notification, the observer might mutate CWC, which can cause the state DCHECKs to fail. We now check the state before notifying observers. A DCHECK is also added to ensure CWC is not destroyed while notifying observers. Bug: internal b/124794528 Test: CQ, manual test on device with basic media flow: "OKG, play music" Change-Id: Icb0c2f6e9d7dc4e3bad8598ba8ab196253dec900 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1497299 Reviewed-by: Luke Halliwell <halliwell@chromium.org> Commit-Queue: Sean Topping <seantopping@chromium.org> Cr-Commit-Position: refs/heads/master@{#637801}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .