Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(444)

Unified Diff: content/renderer/render_thread_impl.cc

Issue 1937313003: Hide WebGraphicsContext3DCommandBufferImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: construct: . Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/media/android/stream_texture_factory.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « content/renderer/media/android/stream_texture_factory.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698