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

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

Issue 9559013: Refactor GpuProcessHost::GetForClient to GpuProcessHost::Get, which takes a GPU process kind rather… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 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 | « no previous file | content/browser/gpu/gpu_data_manager_impl.cc » ('j') | content/browser/gpu/gpu_process_host.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/browser_gpu_channel_host_factory.cc
===================================================================
--- content/browser/gpu/browser_gpu_channel_host_factory.cc (revision 123977)
+++ content/browser/gpu/browser_gpu_channel_host_factory.cc (working copy)
@@ -136,7 +136,8 @@
CauseForGpuLaunch cause_for_gpu_launch) {
GpuProcessHost* host = GpuProcessHost::FromID(gpu_host_id_);
if (!host) {
- host = GpuProcessHost::GetForClient(gpu_client_id_, cause_for_gpu_launch);
+ host = GpuProcessHost::Get(GpuProcessHost::kSandboxed,
+ cause_for_gpu_launch);
if (!host) {
request->event.Signal();
return;
« no previous file with comments | « no previous file | content/browser/gpu/gpu_data_manager_impl.cc » ('j') | content/browser/gpu/gpu_process_host.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698