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

Unified Diff: content/browser/gpu/gpu_client.cc

Issue 2810593003: gpu: Some cleanups. (Closed)
Patch Set: . Created 3 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/gpu/gpu_client.cc
diff --git a/content/browser/gpu/gpu_client.cc b/content/browser/gpu/gpu_client.cc
index 9fe3e051cea95e9987bd998ee0c850fccf87880d..38079ec9993eb6eb20efec0a45357d2c5aafe93c 100644
--- a/content/browser/gpu/gpu_client.cc
+++ b/content/browser/gpu/gpu_client.cc
@@ -56,8 +56,7 @@ void GpuClient::OnCreateGpuMemoryBuffer(
void GpuClient::EstablishGpuChannel(
const EstablishGpuChannelCallback& callback) {
- GpuProcessHost* host =
- GpuProcessHost::Get(GpuProcessHost::GPU_PROCESS_KIND_SANDBOXED);
+ GpuProcessHost* host = GpuProcessHost::Get();
if (!host) {
OnEstablishGpuChannel(
callback, IPC::ChannelHandle(), gpu::GPUInfo(),
« no previous file with comments | « content/browser/gpu/browser_gpu_memory_buffer_manager.cc ('k') | content/browser/gpu/gpu_data_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698