| Index: third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl
|
| diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl
|
| index 107cb7e4de675737674f028f1b8265584908a4a1..52a5d2c6a33aa7bf4b05f0c4516df62844c16d22 100644
|
| --- a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl
|
| +++ b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl
|
| @@ -108,7 +108,7 @@ enum RTCIceConnectionState {
|
| // TODO(guidou): The selector argument should the first (nullable,
|
| // non-optional) argument, and there should be a third failureCallback
|
| // argument.
|
| - [CallWith=ScriptState] Promise<void> getStats(RTCStatsCallback successCallback, optional MediaStreamTrack? selector);
|
| + [CallWith=ScriptState, LegacyInterfaceTypeChecking] Promise<void> getStats(RTCStatsCallback successCallback, optional MediaStreamTrack? selector);
|
| [CallWith=ScriptState, RuntimeEnabled=RTCPeerConnectionNewGetStats] Promise<RTCStatsReport> getStats(optional MediaStreamTrack? selector);
|
|
|
| // https://w3c.github.io/webrtc-pc/#peer-to-peer-data-api
|
|
|