diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2023-09-21 13:28:54 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2023-12-09 19:53:11 +0100 |
commit | 94d3aa19ff444007de9cf656d32f6c7e8f7b1872 (patch) | |
tree | 657279e24e840fc57ade0e13f67aa2a234c7f3c7 /src/core/media_capture_devices_dispatcher.cpp | |
parent | 5b7348aacee8688dda4d99011130754a9bf4678c (diff) |
Chromium 116 adaptations
Change-Id: Ie297e6ddef21cda8d71ef3daeaa4bcb82e806911
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to 'src/core/media_capture_devices_dispatcher.cpp')
-rw-r--r-- | src/core/media_capture_devices_dispatcher.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/media_capture_devices_dispatcher.cpp b/src/core/media_capture_devices_dispatcher.cpp index a6ac070af..612713361 100644 --- a/src/core/media_capture_devices_dispatcher.cpp +++ b/src/core/media_capture_devices_dispatcher.cpp @@ -543,13 +543,11 @@ void MediaCaptureDevicesDispatcher::processDesktopCaptureAccessRequest(content:: content::DesktopMediaID mediaId; if (main_frame) { - // The extension name that the stream is registered with. - std::string originalExtensionName; // Resolve DesktopMediaID for the specified device id. mediaId = content::DesktopStreamsRegistry::GetInstance()->RequestMediaForStreamId( request.requested_video_device_id, main_frame->GetProcess()->GetID(), main_frame->GetRoutingID(), url::Origin::Create(request.security_origin), - &originalExtensionName, content::kRegistryStreamTypeDesktop); + content::kRegistryStreamTypeDesktop); } // Received invalid device id. |