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

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
« no previous file with comments | « content/browser/gpu/gpu_process_host.h ('k') | content/browser/plugin_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_process_host.cc
===================================================================
--- content/browser/gpu/gpu_process_host.cc (revision 123165)
+++ content/browser/gpu/gpu_process_host.cc (working copy)
@@ -201,7 +201,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;
@@ -245,7 +245,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;
@@ -366,8 +366,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());
}
@@ -662,7 +663,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;
« no previous file with comments | « content/browser/gpu/gpu_process_host.h ('k') | content/browser/plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698