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

Unified Diff: components/mus/public/cpp/lib/gles2_context.cc

Issue 2056833002: WIP HW (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 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 | « components/mus/gpu/gpu_service_impl.cc ('k') | components/mus/public/cpp/window_surface_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/lib/gles2_context.cc
diff --git a/components/mus/public/cpp/lib/gles2_context.cc b/components/mus/public/cpp/lib/gles2_context.cc
index 9b388e6b1722a04f8b89d505438cfe6ee64098ac..bfda6850ca6ba112127d35cbb980672c7de9f2ec 100644
--- a/components/mus/public/cpp/lib/gles2_context.cc
+++ b/components/mus/public/cpp/lib/gles2_context.cc
@@ -45,8 +45,8 @@ bool GLES2Context::Initialize(const std::vector<int32_t>& attribs,
command_buffer = command_buffer_client_impl_.get();
gpu_control = command_buffer_client_impl_.get();
} else {
- scoped_refptr<gpu::GpuChannelHost> gpu_channel_host =
- GpuService::GetInstance()->EstablishGpuChannel(connector);
+ auto gpu_channel_host =
+ GpuService::GetInstance()->EstablishGpuChannelSync(connector);
if (!gpu_channel_host)
return false;
gpu::SurfaceHandle surface_handle = gfx::kNullAcceleratedWidget;
« no previous file with comments | « components/mus/gpu/gpu_service_impl.cc ('k') | components/mus/public/cpp/window_surface_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698