diff options
Diffstat (limited to 'www/chromium/patches/patch-content_renderer_render_thread_impl_cc')
| -rw-r--r-- | www/chromium/patches/patch-content_renderer_render_thread_impl_cc | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/www/chromium/patches/patch-content_renderer_render_thread_impl_cc b/www/chromium/patches/patch-content_renderer_render_thread_impl_cc deleted file mode 100644 index dd1f73d..0000000 --- a/www/chromium/patches/patch-content_renderer_render_thread_impl_cc +++ /dev/null | |||
| @@ -1,48 +0,0 @@ | |||
| 1 | Index: content/renderer/render_thread_impl.cc | ||
| 2 | --- content/renderer/render_thread_impl.cc.orig | ||
| 3 | +++ content/renderer/render_thread_impl.cc | ||
| 4 | @@ -189,7 +189,7 @@ | ||
| 5 | |||
| 6 | #if BUILDFLAG(IS_MAC) | ||
| 7 | #include <malloc/malloc.h> | ||
| 8 | -#else | ||
| 9 | +#elif !BUILDFLAG(IS_OPENBSD) | ||
| 10 | #include <malloc.h> | ||
| 11 | #endif | ||
| 12 | |||
| 13 | @@ -718,7 +718,7 @@ void RenderThreadImpl::Init() { | ||
| 14 | DCHECK(parsed_num_raster_threads) << string_value; | ||
| 15 | DCHECK_GT(num_raster_threads, 0); | ||
| 16 | |||
| 17 | -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) | ||
| 18 | +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) | ||
| 19 | categorized_worker_pool_->SetBackgroundingCallback( | ||
| 20 | main_thread_scheduler_->DefaultTaskRunner(), | ||
| 21 | base::BindOnce( | ||
| 22 | @@ -741,7 +741,7 @@ void RenderThreadImpl::Init() { | ||
| 23 | base::DiscardableMemoryAllocator::SetInstance( | ||
| 24 | discardable_memory_allocator_.get()); | ||
| 25 | |||
| 26 | -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) | ||
| 27 | +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) | ||
| 28 | if (base::FeatureList::IsEnabled( | ||
| 29 | blink::features::kBlinkCompositorUseDisplayThreadPriority)) { | ||
| 30 | render_message_filter()->SetThreadPriority( | ||
| 31 | @@ -1093,7 +1093,7 @@ media::GpuVideoAcceleratorFactories* RenderThreadImpl: | ||
| 32 | |||
| 33 | const bool enable_video_decode_accelerator = | ||
| 34 | |||
| 35 | -#if BUILDFLAG(IS_LINUX) | ||
| 36 | +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) | ||
| 37 | base::FeatureList::IsEnabled(media::kVaapiVideoDecodeLinux) && | ||
| 38 | #else | ||
| 39 | !cmd_line->HasSwitch(switches::kDisableAcceleratedVideoDecode) && | ||
| 40 | @@ -1104,7 +1104,7 @@ media::GpuVideoAcceleratorFactories* RenderThreadImpl: | ||
| 41 | |||
| 42 | const bool enable_video_encode_accelerator = | ||
| 43 | |||
| 44 | -#if BUILDFLAG(IS_LINUX) | ||
| 45 | +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) | ||
| 46 | base::FeatureList::IsEnabled(media::kVaapiVideoEncodeLinux) && | ||
| 47 | #else | ||
| 48 | !cmd_line->HasSwitch(switches::kDisableAcceleratedVideoEncode) && | ||
