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

Unified Diff: content/browser/renderer_host/compositor_impl_android.cc

Issue 1936773002: Move attributes and context type out to ContextProviderCommandBuffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rmwgc3d
Patch Set: attributes: welglstuff 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/browser/renderer_host/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index c193c04282a226bcb146b691a0b7ece0d98ce3ce..e73a00630382a4a17bb3e41c9746b7e09dda314f 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -572,9 +572,9 @@ void CompositorImpl::CreateOutputSurface() {
scoped_refptr<ContextProviderCommandBuffer> context_provider(
new ContextProviderCommandBuffer(
base::WrapUnique(new WebGraphicsContext3DCommandBufferImpl(
- surface_handle_, url, gpu_channel_host.get(), attributes,
+ surface_handle_, url, gpu_channel_host.get(),
gfx::PreferIntegratedGpu, automatic_flushes)),
- limits, nullptr, DISPLAY_COMPOSITOR_ONSCREEN_CONTEXT));
+ limits, attributes, nullptr, DISPLAY_COMPOSITOR_ONSCREEN_CONTEXT));
DCHECK(context_provider.get());
std::unique_ptr<cc::OutputSurface> real_output_surface(

Powered by Google App Engine
This is Rietveld 408576698