Revert of Replace the remaining scoped_ptr with unique_ptr in webrtc/modules/ (patchset #1 id:40001 of https://codereview.webrtc.org/1921233002/ )
Reason for revert: Fails on Chromium FYI bots. https://build.chromium.org/p/chromium.webrtc.fyi/builders/Linux%20Builder/builds/5392/ Original issue's description: > Replace the remaining scoped_ptr with unique_ptr in webrtc/modules/ > > BUG=webrtc:5520 > > Committed: https://crrev.com/2c27a062ee46258abe9facc2cceee74f09bf6a99 > Cr-Commit-Position: refs/heads/master@{#12511} TBR=tommi@webrtc.org,kwiberg@webrtc.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=webrtc:5520 Review URL: https://codereview.webrtc.org/1924443002 Cr-Commit-Position: refs/heads/master@{#12513}
This commit is contained in:
@ -12,9 +12,9 @@
|
||||
#define WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_PAYLOAD_REGISTRY_H_
|
||||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
|
||||
#include "webrtc/base/criticalsection.h"
|
||||
#include "webrtc/base/scoped_ptr.h"
|
||||
#include "webrtc/modules/rtp_rtcp/source/rtp_receiver_strategy.h"
|
||||
#include "webrtc/modules/rtp_rtcp/source/rtp_utility.h"
|
||||
|
||||
@ -181,7 +181,7 @@ class RTPPayloadRegistry {
|
||||
|
||||
rtc::CriticalSection crit_sect_;
|
||||
RtpUtility::PayloadTypeMap payload_type_map_;
|
||||
std::unique_ptr<RTPPayloadStrategy> rtp_payload_strategy_;
|
||||
rtc::scoped_ptr<RTPPayloadStrategy> rtp_payload_strategy_;
|
||||
int8_t red_payload_type_;
|
||||
int8_t ulpfec_payload_type_;
|
||||
int8_t incoming_payload_type_;
|
||||
|
||||
Reference in New Issue
Block a user