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

Unified Diff: services/ui/public/cpp/gles2_context.cc

Issue 2431753002: Mus experiment in content shell on Android.
Patch Set: Fix mac bot Created 4 years, 1 month 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 | « services/ui/public/cpp/BUILD.gn ('k') | services/ui/surfaces/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/gles2_context.cc
diff --git a/services/ui/public/cpp/gles2_context.cc b/services/ui/public/cpp/gles2_context.cc
index 93f3dd6e5492fbe9d6b522ad94935b5488151589..473483b3020779c640c0934b7d8df5a3766d255a 100644
--- a/services/ui/public/cpp/gles2_context.cc
+++ b/services/ui/public/cpp/gles2_context.cc
@@ -29,7 +29,6 @@ bool GLES2Context::Initialize(
scoped_refptr<gpu::GpuChannelHost> gpu_channel_host,
scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
DCHECK(gpu_channel_host);
- gpu::SurfaceHandle surface_handle = gfx::kNullAcceleratedWidget;
// TODO(penghuang): support shared group.
gpu::CommandBufferProxyImpl* shared_command_buffer = nullptr;
gpu::GpuStreamId stream_id = gpu::GpuStreamId::GPU_STREAM_DEFAULT;
@@ -38,9 +37,9 @@ bool GLES2Context::Initialize(
// TODO(penghuang): figure a useful active_url.
GURL active_url;
command_buffer_proxy_impl_ = gpu::CommandBufferProxyImpl::Create(
- std::move(gpu_channel_host), surface_handle, shared_command_buffer,
- stream_id, stream_priority, attributes, active_url,
- std::move(task_runner));
+ std::move(gpu_channel_host), gpu::kNullSurfaceHandle,
+ shared_command_buffer, stream_id, stream_priority, attributes,
+ active_url, std::move(task_runner));
if (!command_buffer_proxy_impl_)
return false;
gpu::CommandBuffer* command_buffer = command_buffer_proxy_impl_.get();
« no previous file with comments | « services/ui/public/cpp/BUILD.gn ('k') | services/ui/surfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698