| Index: content/renderer/render_thread_impl.cc
|
| diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
|
| index dc7816243edad78236b0114e406143c2b3969251..9bfd68825eea402ac1c3595da3671451b5e46e0a 100644
|
| --- a/content/renderer/render_thread_impl.cc
|
| +++ b/content/renderer/render_thread_impl.cc
|
| @@ -419,12 +419,10 @@ scoped_refptr<ContextProviderCommandBuffer> CreateOffscreenContext(
|
| attributes.lose_context_when_out_of_memory = true;
|
| constexpr bool automatic_flushes = false;
|
| return make_scoped_refptr(new ContextProviderCommandBuffer(
|
| - base::WrapUnique(new WebGraphicsContext3DCommandBufferImpl(
|
| - gpu::kNullSurfaceHandle,
|
| - GURL("chrome://gpu/RenderThreadImpl::CreateOffscreenContext"),
|
| - std::move(gpu_channel_host), gfx::PreferIntegratedGpu,
|
| - automatic_flushes)),
|
| - gpu::SharedMemoryLimits(), attributes, nullptr, type));
|
| + std::move(gpu_channel_host), gpu::kNullSurfaceHandle,
|
| + GURL("chrome://gpu/RenderThreadImpl::CreateOffscreenContext"),
|
| + gfx::PreferIntegratedGpu, automatic_flushes, gpu::SharedMemoryLimits(),
|
| + attributes, nullptr, type));
|
| }
|
|
|
| } // namespace
|
|
|