Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Unified Diff: content/renderer/media/user_media_client_impl.cc

Issue 2377613002: Remove cancelMediaDevicesRequest dead code. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/user_media_client_impl.cc
diff --git a/content/renderer/media/user_media_client_impl.cc b/content/renderer/media/user_media_client_impl.cc
index 10122a048a4468a368fd10747996b159811a8868..ff9a1fe5574ca001bfaaa475f8f6acff346cadec 100644
--- a/content/renderer/media/user_media_client_impl.cc
+++ b/content/renderer/media/user_media_client_impl.cc
@@ -330,16 +330,6 @@ void UserMediaClientImpl::requestMediaDevices(
security_origin);
}
-void UserMediaClientImpl::cancelMediaDevicesRequest(
- const blink::WebMediaDevicesRequest& media_devices_request) {
- DCHECK(CalledOnValidThread());
- MediaDevicesRequestInfo* request =
- FindMediaDevicesRequestInfo(media_devices_request);
- if (!request)
- return;
- CancelAndDeleteMediaDevicesRequest(request);
-}
-
void UserMediaClientImpl::requestSources(
const blink::WebMediaStreamTrackSourcesRequest& sources_request) {
// We don't call UpdateWebRTCMethodCount() here to track the API count in UMA
« no previous file with comments | « content/renderer/media/user_media_client_impl.h ('k') | third_party/WebKit/Source/modules/mediastream/UserMediaClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698