-
Yoichi Osato authored
This CL fixes the crash if mojo creation in OnAddChannelResponse failed, then we call WebSocket::Reset(), which deletes WebSocketChannel but it tries to call instance methods after that. To fix that, this CL unifies WebSocket::WebSocketEventHandler ::OnAddChannelResponse and ::AddSendFlowControlQuota for quota initialize. Fixed: 1018432 Change-Id: I197a15c07e23b04284713e67fca2dfcd92f01e1a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1883450Reviewed-by:
Adam Rice <ricea@chromium.org> Reviewed-by:
Yutaka Hirano <yhirano@chromium.org> Commit-Queue: Yoichi Osato <yoichio@chromium.org> Cr-Commit-Position: refs/heads/master@{#710638}
1bcffbcf