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

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

Issue 9429039: Cleanup: Remove base::environment_vector and base::file_handle_mapping_vector to StudlyCaps. (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/gpu/gpu_process_host.cc
===================================================================
--- content/browser/gpu/gpu_process_host.cc (revision 122601)
+++ content/browser/gpu/gpu_process_host.cc (working copy)
@@ -200,7 +200,7 @@
// this will be extended to allow the use of multiple GPU processes.
for (IDMap<GpuProcessHost>::iterator it(g_hosts_by_id.Pointer());
!it.IsAtEnd(); it.Advance()) {
- GpuProcessHost *host = it.GetCurrentValue();
+ GpuProcessHost* host = it.GetCurrentValue();
if (host->sandboxed() != (client_id != 0))
continue;
@@ -244,7 +244,7 @@
if (host_id == 0)
return NULL;
- GpuProcessHost *host = g_hosts_by_id.Pointer()->Lookup(host_id);
+ GpuProcessHost* host = g_hosts_by_id.Pointer()->Lookup(host_id);
if (HostIsValid(host))
return host;
@@ -365,8 +365,9 @@
in_process_gpu_thread_->StartWithOptions(options);
OnProcessLaunched(); // Fake a callback that the process is ready.
- } else if (!LaunchGpuProcess(channel_id))
+ } else if (!LaunchGpuProcess(channel_id)) {
return false;
+ }
return Send(new GpuMsg_Initialize());
}
@@ -627,7 +628,7 @@
FilePath(),
#elif defined(OS_POSIX)
false, // Never use the zygote (GPU plugin can't be sandboxed).
- base::environment_vector(),
+ base::EnvironmentVector(),
#endif
cmd_line);
process_launched_ = true;

Powered by Google App Engine
This is Rietveld 408576698