bindings: Fix check of WebSocketStreamOptions.signal
WebSocketStreamOptions.signal is a non-nullable dictionary member. This CL fixes the way to check if it is missing; makes to call hasSignal() instead of checking a nullptr. This is a preparation for the new code generator, with which the original code would crash. Bug: 839389 Change-Id: I5d43009f4998b00bc4705a912148382fbf2902a0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2214739 Commit-Queue: Hitoshi Yoshida <peria@chromium.org> Commit-Queue: Kentaro Hara <haraken@chromium.org> Auto-Submit: Hitoshi Yoshida <peria@chromium.org> Reviewed-by:Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#772130}
Showing
Please register or sign in to comment