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

Unified Diff: content/renderer/renderer_blink_platform_impl.cc

Issue 1936773002: Move attributes and context type out to ContextProviderCommandBuffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rmwgc3d
Patch Set: 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
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 e8c18cda5769d331526ce47f26055905897d779c..fea010220f20144e70f60944d3340a9a35abd093 100644
--- a/content/renderer/renderer_blink_platform_impl.cc
+++ b/content/renderer/renderer_blink_platform_impl.cc
@@ -1076,10 +1076,9 @@ RendererBlinkPlatformImpl::createOffscreenGraphicsContext3DProvider(
new ContextProviderCommandBuffer(
base::WrapUnique(new WebGraphicsContext3DCommandBufferImpl(
gpu::kNullSurfaceHandle, GURL(top_document_web_url),
- gpu_channel_host.get(), attributes, gpu_preference,
- automatic_flushes)),
- gpu::SharedMemoryLimits(), share_context,
- RENDERER_MAINTHREAD_CONTEXT));
+ gpu_channel_host.get(), gpu_preference, automatic_flushes)),
+ gpu::SharedMemoryLimits(), attributes, share_context,
+ command_buffer_metrics::RENDERER_MAINTHREAD_CONTEXT));
if (!provider->BindToCurrentThread()) {
// Collect Graphicsinfo if there is a context failure or it is failed
// purposefully in case of layout tests.
« content/common/gpu/client/command_buffer_metrics.h ('K') | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698