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

Unified Diff: content/browser/gpu/browser_gpu_channel_host_factory.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
« no previous file with comments | « ash/gpu_support_stub.cc ('k') | content/browser/gpu/browser_gpu_memory_buffer_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/browser_gpu_channel_host_factory.cc
diff --git a/content/browser/gpu/browser_gpu_channel_host_factory.cc b/content/browser/gpu/browser_gpu_channel_host_factory.cc
index f290ed3ef851b675a4153d5a5e821235fcf8a4cb..2d5c572f0a3e1e01a656db293f1064b7030bf718 100644
--- a/content/browser/gpu/browser_gpu_channel_host_factory.cc
+++ b/content/browser/gpu/browser_gpu_channel_host_factory.cc
@@ -98,8 +98,7 @@ void BrowserGpuChannelHostFactory::EstablishRequest::EstablishOnIO() {
FROM_HERE_WITH_EXPLICIT_FUNCTION(
"477117 "
"BrowserGpuChannelHostFactory::EstablishRequest::EstablishOnIO"));
- GpuProcessHost* host =
- GpuProcessHost::Get(GpuProcessHost::GPU_PROCESS_KIND_SANDBOXED);
+ GpuProcessHost* host = GpuProcessHost::Get();
if (!host) {
LOG(ERROR) << "Failed to launch GPU process.";
FinishOnIO();
« no previous file with comments | « ash/gpu_support_stub.cc ('k') | content/browser/gpu/browser_gpu_memory_buffer_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698