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

Unified Diff: content/browser/renderer_host/gpu_message_filter.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
Index: content/browser/renderer_host/gpu_message_filter.cc
===================================================================
--- content/browser/renderer_host/gpu_message_filter.cc (revision 123977)
+++ content/browser/renderer_host/gpu_message_filter.cc (working copy)
@@ -69,8 +69,8 @@
// to something like OnCreateGpuProcess.
GpuProcessHost* host = GpuProcessHost::FromID(gpu_host_id_);
if (!host) {
- host = GpuProcessHost::GetForClient(
- render_process_id_, cause_for_gpu_launch);
+ host = GpuProcessHost::Get(GpuProcessHost::kSandboxed,
+ cause_for_gpu_launch);
if (!host) {
reply->set_reply_error();
Send(reply);
« content/browser/gpu/gpu_process_host.cc ('K') | « content/browser/gpu/gpu_process_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698