rtcp::RawPacket is rtc::Buffer, it had no extra functionality. rtc::Buffer is a movable class - no point to wrap it into rtc::scoped_ptr change is large, but straightforward: rtc::scoped_ptr<rtcp::RawPacket> replaced with rtc::Buffer ->Buffer() replaced with .data() ->Length() replaced with .size() BUG=webrtc:5260 Review URL: https://codereview.webrtc.org/1696203002 Cr-Commit-Position: refs/heads/master@{#11649}