summaryrefslogtreecommitdiffstats
path: root/chromium/build/patches/chromium_gpu_sharedmemorylimits.patch
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/build/patches/chromium_gpu_sharedmemorylimits.patch')
-rw-r--r--chromium/build/patches/chromium_gpu_sharedmemorylimits.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/chromium/build/patches/chromium_gpu_sharedmemorylimits.patch b/chromium/build/patches/chromium_gpu_sharedmemorylimits.patch
new file mode 100644
index 00000000..2f23c18b
--- /dev/null
+++ b/chromium/build/patches/chromium_gpu_sharedmemorylimits.patch
@@ -0,0 +1,14 @@
+Taken from:
+https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207298
+
+--- chromium-56.0.2924.87/services/ui/public/cpp/gles2_context.cc.orig 2017-02-02 02:02:57 UTC
++++ chromium-56.0.2924.87/services/ui/public/cpp/gles2_context.cc
+@@ -46,7 +46,7 @@ bool GLES2Context::Initialize(
+ gpu::CommandBuffer* command_buffer = command_buffer_proxy_impl_.get();
+ gpu::GpuControl* gpu_control = command_buffer_proxy_impl_.get();
+
+- constexpr gpu::SharedMemoryLimits default_limits;
++ constexpr gpu::SharedMemoryLimits default_limits = gpu::SharedMemoryLimits();
+ gles2_helper_.reset(new gpu::gles2::GLES2CmdHelper(command_buffer));
+ if (!gles2_helper_->Initialize(default_limits.command_buffer_size))
+ return false;