Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp

Issue 2591763002: RTCPeerConnection.getStats: Remove selector argument. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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 d14a5262bfbe37179521b6d8242aecd61c321100..e71aa3ec063c511d98f4df965281d053c6fa9063 100644
--- a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp
@@ -1163,8 +1163,7 @@ ScriptPromise RTCPeerConnection::getStats(ScriptState* scriptState,
return promise;
}
-ScriptPromise RTCPeerConnection::getStats(ScriptState* scriptState,
- MediaStreamTrack* selector) {
+ScriptPromise RTCPeerConnection::getStats(ScriptState* scriptState) {
ExecutionContext* context = scriptState->getExecutionContext();
UseCounter::count(context, UseCounter::RTCPeerConnectionGetStats);

Powered by Google App Engine