commit | bc3ebdc42cd0b29fd770213d02a99a81b84dc69c | [log] [tgz] |
---|---|---|
author | sigbjornf <sigbjornf@opera.com> | Thu Apr 14 05:34:31 2016 |
committer | Commit bot <commit-bot@chromium.org> | Thu Apr 14 05:36:20 2016 |
tree | 99b67a13ff3aa74c2f7c8eab8da1eba02667a33d | |
parent | a3ea1e39abb968f3ab111751c079bebc6601dde4 [diff] |
Safely iterate over MediaStreamSource observers. When changing the ready state of this object, the resultant dispatching of events by its observers may extend the observer set. Take a snapshot of the observers, so as to be able safely iterate over it across additions. R= BUG=602273 Review URL: https://codereview.chromium.org/1885053002 Cr-Commit-Position: refs/heads/master@{#387243}