Index: webrtc/media/engine/webrtcmediaengine.cc |
diff --git a/webrtc/media/engine/webrtcmediaengine.cc b/webrtc/media/engine/webrtcmediaengine.cc |
index e4c4c0dc33a2e55257d6a388f5d1e6f46a441348..774b6b7f905948697e4d8750896427d127ea5758 100644 |
--- a/webrtc/media/engine/webrtcmediaengine.cc |
+++ b/webrtc/media/engine/webrtcmediaengine.cc |
@@ -157,7 +157,7 @@ namespace { |
// Remove mutually exclusive extensions with lower priority. |
void DiscardRedundantExtensions( |
std::vector<webrtc::RtpExtension>* extensions, |
- rtc::ArrayView<const char*> extensions_decreasing_prio) { |
+ rtc::ArrayView<const char* const> extensions_decreasing_prio) { |
RTC_DCHECK(extensions); |
bool found = false; |
for (const char* uri : extensions_decreasing_prio) { |
@@ -228,7 +228,7 @@ std::vector<webrtc::RtpExtension> FilterRtpExtensions( |
result.erase(it, result.end()); |
// Keep just the highest priority extension of any in the following list. |
- static const char* kBweExtensionPriorities[] = { |
+ static const char* const kBweExtensionPriorities[] = { |
webrtc::RtpExtension::kTransportSequenceNumberUri, |
webrtc::RtpExtension::kAbsSendTimeUri, |
webrtc::RtpExtension::kTimestampOffsetUri}; |