Index: third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h |
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h |
index 42f09b2a5cc75a95b9e688eb944361c8d3a67853..e967f99652e9a40f0be960771674431dd53915fa 100644 |
--- a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h |
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h |
@@ -113,7 +113,9 @@ public: |
void removeStream(MediaStream*, ExceptionState&); |
- void getStats(ExecutionContext*, RTCStatsCallback* successCallback, MediaStreamTrack* selector); |
+ ScriptPromise getStats(ScriptState*, ScriptValue); |
+ ScriptPromise getStats(ScriptState*, RTCStatsCallback* successCallback, MediaStreamTrack* selector = nullptr); |
+ ScriptPromise getStats(ScriptState*, MediaStreamTrack* selector = nullptr); |
RTCDataChannel* createDataChannel(String label, const Dictionary& dataChannelDict, ExceptionState&); |