aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-services_video__capture_broadcasting__receiver.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-services_video__capture_broadcasting__receiver.cc')
-rw-r--r--www/chromium/files/patch-services_video__capture_broadcasting__receiver.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/www/chromium/files/patch-services_video__capture_broadcasting__receiver.cc b/www/chromium/files/patch-services_video__capture_broadcasting__receiver.cc
index 5410c0a5f6b0..e39571c78e5b 100644
--- a/www/chromium/files/patch-services_video__capture_broadcasting__receiver.cc
+++ b/www/chromium/files/patch-services_video__capture_broadcasting__receiver.cc
@@ -1,11 +1,11 @@
---- services/video_capture/broadcasting_receiver.cc.orig 2021-12-31 00:57:38 UTC
+--- services/video_capture/broadcasting_receiver.cc.orig 2022-02-28 16:54:41 UTC
+++ services/video_capture/broadcasting_receiver.cc
@@ -28,7 +28,7 @@ void CloneSharedBufferHandle(const mojo::ScopedSharedB
void CloneSharedBufferToRawFileDescriptorHandle(
const mojo::ScopedSharedBufferHandle& source,
media::mojom::VideoBufferHandlePtr* target) {
--#if defined(OS_LINUX) || defined(OS_CHROMEOS)
-+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// |source| is unwrapped to a |PlatformSharedMemoryRegion|, from whence a file
// descriptor can be extracted which is then mojo-wrapped.
base::subtle::PlatformSharedMemoryRegion platform_region =
@@ -13,8 +13,8 @@
ConvertRawFileDescriptorToSharedBuffer() {
DCHECK(buffer_handle_->is_shared_memory_via_raw_file_descriptor());
--#if defined(OS_LINUX) || defined(OS_CHROMEOS)
-+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// The conversion unwraps the descriptor from its mojo handle to the raw file
// descriptor (ie, an int). This is used to create a
// PlatformSharedMemoryRegion which is then wrapped as a