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

Unified Diff: content/renderer/renderer_blink_platform_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/render_widget.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_blink_platform_impl.cc
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
index d9c1890086be640f29f8347b494e9b3315742619..92bb11b25a75ad9ade699854ae5f43e4d63bd364 100644
--- a/content/renderer/renderer_blink_platform_impl.cc
+++ b/content/renderer/renderer_blink_platform_impl.cc
@@ -1075,9 +1075,8 @@ RendererBlinkPlatformImpl::createOffscreenGraphicsContext3DProvider(
scoped_refptr<ContextProviderCommandBuffer> provider(
new ContextProviderCommandBuffer(
- base::WrapUnique(new WebGraphicsContext3DCommandBufferImpl(
- gpu::kNullSurfaceHandle, GURL(top_document_web_url),
- std::move(gpu_channel_host), gpu_preference, automatic_flushes)),
+ std::move(gpu_channel_host), gpu::kNullSurfaceHandle,
+ GURL(top_document_web_url), gpu_preference, automatic_flushes,
gpu::SharedMemoryLimits(), attributes, share_context,
command_buffer_metrics::OFFSCREEN_CONTEXT_FOR_WEBGL));
if (!provider->BindToCurrentThread()) {
« no previous file with comments | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698