Consolidate constructormagic macros with Chromium version and remove Chromium override.
Part of work removing dependency on Chromium's base. Only adds "= delete". From https://codereview.chromium.org/1151443003 : "This will guarantee the error to be at compile time, and not rely on the call visibility (private)." In consequence of that change, fixed an illegal copy and removed a bunch of unused variables. Depends on https://codereview.webrtc.org/1345433002/ BUG=chromium:468375 (in particular comment #37) NOTRY=true Review URL: https://codereview.webrtc.org/1342543004 Cr-Commit-Position: refs/heads/master@{#9954}
This commit is contained in:
@ -153,8 +153,7 @@ RtpPacketizerH264::RtpPacketizerH264(FrameType frame_type,
|
||||
size_t max_payload_len)
|
||||
: payload_data_(NULL),
|
||||
payload_size_(0),
|
||||
max_payload_len_(max_payload_len),
|
||||
frame_type_(frame_type) {
|
||||
max_payload_len_(max_payload_len) {
|
||||
}
|
||||
|
||||
RtpPacketizerH264::~RtpPacketizerH264() {
|
||||
|
||||
@ -84,7 +84,6 @@ class RtpPacketizerH264 : public RtpPacketizer {
|
||||
const size_t max_payload_len_;
|
||||
RTPFragmentationHeader fragmentation_;
|
||||
PacketQueue packets_;
|
||||
FrameType frame_type_;
|
||||
|
||||
RTC_DISALLOW_COPY_AND_ASSIGN(RtpPacketizerH264);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user