summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_renderer_render__thread__impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-content_renderer_render__thread__impl.cc')
-rw-r--r--www/chromium/files/patch-content_renderer_render__thread__impl.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/www/chromium/files/patch-content_renderer_render__thread__impl.cc b/www/chromium/files/patch-content_renderer_render__thread__impl.cc
index 44a76844df29..7a95a80fbd78 100644
--- a/www/chromium/files/patch-content_renderer_render__thread__impl.cc
+++ b/www/chromium/files/patch-content_renderer_render__thread__impl.cc
@@ -1,6 +1,6 @@
---- content/renderer/render_thread_impl.cc.orig 2017-09-05 21:05:19.000000000 +0200
-+++ content/renderer/render_thread_impl.cc 2017-09-09 00:52:35.826914000 +0200
-@@ -220,12 +220,22 @@
+--- content/renderer/render_thread_impl.cc.orig 2017-12-15 02:04:18.000000000 +0100
++++ content/renderer/render_thread_impl.cc 2017-12-24 14:46:13.319958000 +0100
+@@ -219,12 +219,22 @@
#include "content/common/external_ipc_dumper.h"
#endif
@@ -23,7 +23,7 @@
using base::ThreadRestrictions;
using blink::WebDocument;
using blink::WebFrame;
-@@ -926,7 +936,7 @@
+@@ -929,7 +939,7 @@
GetConnector()->BindInterface(mojom::kBrowserServiceName,
mojo::MakeRequest(&storage_partition_service_));
@@ -32,16 +32,16 @@
ChildProcess::current()->SetIOThreadPriority(base::ThreadPriority::DISPLAY);
ChildThreadImpl::current()->SetThreadPriority(
categorized_worker_pool_->background_worker_thread_id(),
-@@ -1149,7 +1159,7 @@
- compositor_task_runner_->PostTask(
+@@ -1147,7 +1157,7 @@
FROM_HERE,
- base::Bind(base::IgnoreResult(&ThreadRestrictions::SetIOAllowed), false));
+ base::BindOnce(base::IgnoreResult(&ThreadRestrictions::SetIOAllowed),
+ false));
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
ChildThreadImpl::current()->SetThreadPriority(compositor_thread_->ThreadId(),
base::ThreadPriority::DISPLAY);
#endif
-@@ -1446,7 +1456,7 @@
+@@ -1458,7 +1468,7 @@
const bool enable_video_accelerator =
!cmd_line->HasSwitch(switches::kDisableAcceleratedVideoDecode);
const bool enable_gpu_memory_buffer_video_frames =
@@ -50,7 +50,7 @@
!cmd_line->HasSwitch(switches::kDisableGpuMemoryBufferVideoFrames) &&
!cmd_line->HasSwitch(switches::kDisableGpuCompositing) &&
!gpu_channel_host->gpu_info().software_rendering;
-@@ -1771,7 +1781,26 @@
+@@ -1778,7 +1788,26 @@
blink_stats.blink_gc_total_allocated_bytes / 1024;
std::unique_ptr<base::ProcessMetrics> metric(
base::ProcessMetrics::CreateCurrentProcessMetrics());