Remove deprecated version of RtpPacket::SetPadding that used to randomize padding
was deprecated in
https://webrtc-review.googlesource.com/c/src/+/103983
Bug: None
Change-Id: I617b7b5112446deaa9be983978cabdb247638266
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/141865
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28266}
diff --git a/modules/rtp_rtcp/source/rtp_packet.h b/modules/rtp_rtcp/source/rtp_packet.h
index c067580..a0ecf1e 100644
--- a/modules/rtp_rtcp/source/rtp_packet.h
+++ b/modules/rtp_rtcp/source/rtp_packet.h
@@ -17,10 +17,8 @@
#include "modules/rtp_rtcp/include/rtp_header_extension_map.h"
#include "modules/rtp_rtcp/include/rtp_rtcp_defines.h"
#include "rtc_base/copy_on_write_buffer.h"
-#include "rtc_base/deprecation.h"
namespace webrtc {
-class Random;
class RtpPacket {
public:
@@ -125,10 +123,6 @@
uint8_t* SetPayloadSize(size_t size_bytes);
// Same as SetPayloadSize but doesn't guarantee to keep current payload.
uint8_t* AllocatePayload(size_t size_bytes);
- RTC_DEPRECATED
- bool SetPadding(uint8_t size_bytes, Random* random) {
- return SetPadding(size_bytes);
- }
bool SetPadding(size_t padding_size);