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..13d4c277126ddcc9c37d19f5c3b389884f701a67 100644 |
--- a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h |
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h |
@@ -113,7 +113,8 @@ public: |
void removeStream(MediaStream*, ExceptionState&); |
- void getStats(ExecutionContext*, RTCStatsCallback* successCallback, MediaStreamTrack* selector); |
+ ScriptPromise getStats(ScriptState*, RTCStatsCallback* successCallback, MediaStreamTrack* selector = nullptr); |
+ ScriptPromise getStats(ScriptState*, MediaStreamTrack* selector = nullptr); |
RTCDataChannel* createDataChannel(String label, const Dictionary& dataChannelDict, ExceptionState&); |