Index: webrtc/modules/rtp_rtcp/source/rtcp_packet.h |
diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet.h b/webrtc/modules/rtp_rtcp/source/rtcp_packet.h |
index ffa3e0daf2c226bc25ccaa137e388320856b3d89..d212497edde322b73fe252b1b92c0e33af8602b2 100644 |
--- a/webrtc/modules/rtp_rtcp/source/rtcp_packet.h |
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet.h |
@@ -234,7 +234,7 @@ class SenderReport : public RtcpPacket { |
void WithOctetCount(uint32_t octet_count) { |
sr_.SenderOctetCount = octet_count; |
} |
- bool WithReportBlock(ReportBlock* block); |
+ bool WithReportBlock(const ReportBlock& block); |
protected: |
bool Create(uint8_t* packet, |
@@ -282,7 +282,7 @@ class ReceiverReport : public RtcpPacket { |
void From(uint32_t ssrc) { |
rr_.SenderSSRC = ssrc; |
} |
- bool WithReportBlock(ReportBlock* block); |
+ bool WithReportBlock(const ReportBlock& block); |
protected: |
bool Create(uint8_t* packet, |