DescriptionPort::GetStunMessage: Write to scoped_ptr instead of raw pointer
This is a good idea in general, because it makes ownership clearer,
but will also be very convenient when scoped_ptr is gone, since
unique_ptr doesn't have an .accept() method.
BUG=webrtc:5520
Committed: https://crrev.com/6baec0351aab267fb4f07b95778ae2e5f0d58f05
Cr-Commit-Position: refs/heads/master@{#12002}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Let caller worry about clearing the output argument #
Messages
Total messages: 10 (3 generated)
|