Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(520)

Unified Diff: webrtc/modules/rtp_rtcp/source/forward_error_correction.cc

Issue 2084893002: Implement scoped_const_refptr template. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/forward_error_correction.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/rtp_rtcp/source/forward_error_correction.cc
diff --git a/webrtc/modules/rtp_rtcp/source/forward_error_correction.cc b/webrtc/modules/rtp_rtcp/source/forward_error_correction.cc
index 623c658a17401b877bd6748471f1e7ed8b9f3552..6a54b1e9e7d488c72d6e9010d7d20eef2932524c 100644
--- a/webrtc/modules/rtp_rtcp/source/forward_error_correction.cc
+++ b/webrtc/modules/rtp_rtcp/source/forward_error_correction.cc
@@ -39,11 +39,11 @@ const uint8_t kTransportOverhead = 28;
enum { kMaxFecPackets = ForwardErrorCorrection::kMaxMediaPackets };
-int32_t ForwardErrorCorrection::Packet::AddRef() {
+int32_t ForwardErrorCorrection::Packet::AddRef() const {
return ++ref_count_;
}
-int32_t ForwardErrorCorrection::Packet::Release() {
+int32_t ForwardErrorCorrection::Packet::Release() const {
int32_t ref_count;
ref_count = --ref_count_;
if (ref_count == 0)
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/forward_error_correction.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698