diff options
author | miu <miu@chromium.org> | 2014-08-27 15:15:39 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-27 22:20:47 +0000 |
commit | 13d9b1252f8a0d8f0446325f458d23ace590345f (patch) | |
tree | dd7e92a392589628af40e7ec06442b7463a8d46d /chromeos/test | |
parent | 56bd38e3cfb1b7d0e08e675626d572f4707fa77f (diff) | |
download | chromium_src-13d9b1252f8a0d8f0446325f458d23ace590345f.zip chromium_src-13d9b1252f8a0d8f0446325f458d23ace590345f.tar.gz chromium_src-13d9b1252f8a0d8f0446325f458d23ace590345f.tar.bz2 |
[Cast] Fix shutdown race between CastReceiverImpl/FrameReceiver and frame emit callback run.
As described in bug 396413, it was possible for a posted task to be run
after CastReceiverImpl/FrameReceiver were destroyed. This change fixes
the bug by having FrameReceiver post a cancelable task (i.e., using its
WeakPtr) instead.
BUG=396413
Review URL: https://codereview.chromium.org/491953003
Cr-Commit-Position: refs/heads/master@{#292244}
Diffstat (limited to 'chromeos/test')
0 files changed, 0 insertions, 0 deletions