Disable base::{Once,Repeating}Callback construction from nullptr
A constructor of base::{Once,Repeating}Callback takes a pointer to BindStateBase, that is intended to be used by base::Bind*. However, the constructor accidentally matches to nullptr parameter, and that requires a null check of |bind_state| in the callback constructor. This CL disables nullptr argument on the callback construction. Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: Ic74ca7ce94bc95922e122257d397ff5fbf1fa431 Reviewed-on: https://chromium-review.googlesource.com/1111179 Commit-Queue: Daniel Cheng <dcheng@chromium.org> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Varun Khaneja <vakh@chromium.org> Reviewed-by:
Kurt Horimoto <kkhorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#569782}
Showing
Please register or sign in to comment