Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
StreamCreated() may be called after CloseStream(), leading to a null pointer deref on |delegate_|. Avoid this by invalidating the weak pointer that was bound into StreamCreated(). Bug: 879257 Change-Id: I954421b384928bff3c3d17506850012e2a1da1b3 Reviewed-on: https://chromium-review.googlesource.com/1199142 Commit-Queue: Olga Sharonova <olka@chromium.org> Reviewed-by: Olga Sharonova <olka@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#587981}(cherry picked from commit 4ef85aa) Reviewed-on: https://chromium-review.googlesource.com/1202042 Reviewed-by: Max Morin <maxmorin@chromium.org> Cr-Commit-Position: refs/branch-heads/3538@{#13} Cr-Branched-From: 79f7c91-refs/heads/master@{#587811}
- Loading branch information