Index: third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp |
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp |
index 85cb675df52591ff30a073a66e2606b8d9868286..0fc7b7ecdb7907f95e5ae75721da24793fdba919 100644 |
--- a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp |
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp |
@@ -46,6 +46,7 @@ |
#include "core/dom/Document.h" |
#include "core/dom/ExceptionCode.h" |
#include "core/dom/ExecutionContext.h" |
+#include "core/frame/Deprecation.h" |
#include "core/frame/HostsUsingFeatures.h" |
#include "core/frame/LocalFrame.h" |
#include "core/frame/UseCounter.h" |
@@ -264,6 +265,7 @@ WebRTCConfiguration parseConfiguration(ExecutionContext* context, |
String rtcpMuxPolicyString = configuration.rtcpMuxPolicy(); |
if (rtcpMuxPolicyString == "negotiate") { |
rtcpMuxPolicy = WebRTCRtcpMuxPolicy::kNegotiate; |
+ Deprecation::countDeprecation(context, UseCounter::RtcpMuxPolicyNegotiate); |
} else { |
DCHECK_EQ(rtcpMuxPolicyString, "require"); |
} |