Index: webrtc/modules/video_coding/media_opt_util.h |
diff --git a/webrtc/modules/video_coding/media_opt_util.h b/webrtc/modules/video_coding/media_opt_util.h |
index a016a03eab303b8766df176945840590fcb9df0e..6b47e3b2d99e02e73965f56cf1bdcca9af7268a1 100644 |
--- a/webrtc/modules/video_coding/media_opt_util.h |
+++ b/webrtc/modules/video_coding/media_opt_util.h |
@@ -14,8 +14,9 @@ |
#include <math.h> |
#include <stdlib.h> |
+#include <memory> |
+ |
#include "webrtc/base/exp_filter.h" |
-#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/modules/video_coding/internal_defines.h" |
#include "webrtc/modules/video_coding/qm_select.h" |
#include "webrtc/system_wrappers/include/trace.h" |
@@ -333,7 +334,7 @@ class VCMLossProtectionLogic { |
// Sets the available loss protection methods. |
void UpdateMaxLossHistory(uint8_t lossPr255, int64_t now); |
uint8_t MaxFilteredLossPr(int64_t nowMs) const; |
- rtc::scoped_ptr<VCMProtectionMethod> _selectedMethod; |
+ std::unique_ptr<VCMProtectionMethod> _selectedMethod; |
VCMProtectionParameters _currentParameters; |
int64_t _rtt; |
float _lossPr; |