DescriptionSignalPacketReceived should pass packet as a pointer instead of a non-const reference.
See https://google.github.io/styleguide/cppguide.html#Reference_Arguments.
The Bind to ProcessPacket in OnPacketReceived is safe because Bind captures arguments by value.
BUG=webrtc:7013
Review-Url: https://codereview.webrtc.org/2980923002
Cr-Commit-Position: refs/heads/master@{#19028}
Committed: https://chromium.googlesource.com/external/webrtc/+/634977b61107244a24652120b762fdce23eb5cb9
Patch Set 1 #
Messages
Total messages: 9 (5 generated)
|