summaryrefslogtreecommitdiffstats
path: root/chromium/build/patches/chromium_gpu_sharedmemorylimits.patch
blob: 2f23c18bc5054d5eee67e04e871eefc516c0df2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;