aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_browser_renderer__host_render__process__host__impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-content_browser_renderer__host_render__process__host__impl.cc')
-rw-r--r--www/chromium/files/patch-content_browser_renderer__host_render__process__host__impl.cc26
1 files changed, 22 insertions, 4 deletions
diff --git a/www/chromium/files/patch-content_browser_renderer__host_render__process__host__impl.cc b/www/chromium/files/patch-content_browser_renderer__host_render__process__host__impl.cc
index e4dc45c1b621..140f949b7fdb 100644
--- a/www/chromium/files/patch-content_browser_renderer__host_render__process__host__impl.cc
+++ b/www/chromium/files/patch-content_browser_renderer__host_render__process__host__impl.cc
@@ -1,4 +1,4 @@
---- content/browser/renderer_host/render_process_host_impl.cc.orig 2022-07-22 17:30:31 UTC
+--- content/browser/renderer_host/render_process_host_impl.cc.orig 2022-09-24 10:57:32 UTC
+++ content/browser/renderer_host/render_process_host_impl.cc
@@ -211,7 +211,7 @@
#include "third_party/blink/public/mojom/android_font_lookup/android_font_lookup.mojom.h"
@@ -9,7 +9,7 @@
#include <sys/resource.h>
#include "components/services/font/public/mojom/font_service.mojom.h" // nogncheck
-@@ -1139,7 +1139,7 @@ static constexpr size_t kUnknownPlatformProcessLimit =
+@@ -1135,7 +1135,7 @@ static constexpr size_t kUnknownPlatformProcessLimit =
// to indicate failure and std::numeric_limits<size_t>::max() to indicate
// unlimited.
size_t GetPlatformProcessLimit() {
@@ -18,7 +18,7 @@
struct rlimit limit;
if (getrlimit(RLIMIT_NPROC, &limit) != 0)
return kUnknownPlatformProcessLimit;
-@@ -1226,7 +1226,7 @@ class RenderProcessHostImpl::IOThreadHostImpl : public
+@@ -1222,7 +1222,7 @@ class RenderProcessHostImpl::IOThreadHostImpl : public
return;
}
@@ -27,7 +27,16 @@
if (auto font_receiver = receiver.As<font_service::mojom::FontService>()) {
ConnectToFontService(std::move(font_receiver));
return;
-@@ -3211,6 +3211,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLin
+@@ -2114,7 +2114,7 @@ void RenderProcessHostImpl::CreateWebSocketConnector(
+ std::move(receiver));
+ }
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ void RenderProcessHostImpl::CreateStableVideoDecoder(
+ mojo::PendingReceiver<media::stable::mojom::StableVideoDecoder> receiver) {
+ if (!stable_video_decoder_factory_remote_.is_bound()) {
+@@ -3243,6 +3243,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLin
switches::kDisableSpeechAPI,
switches::kDisableThreadedCompositing,
switches::kDisableTouchDragDrop,
@@ -35,3 +44,12 @@
switches::kDisableV8IdleTasks,
switches::kDisableVideoCaptureUseGpuMemoryBuffer,
switches::kDisableWebGLImageChromium,
+@@ -4716,7 +4717,7 @@ void RenderProcessHostImpl::ResetIPC() {
+ coordinator_connector_receiver_.reset();
+ tracing_registration_.reset();
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ stable_video_decoder_factory_remote_.reset();
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+