| Index: content/browser/gpu/gpu_process_host.cc
|
| diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc
|
| index 39d00af7190e01f0b1fd35f344a640caddfa0cd9..d0d3d06210a2f4ad39396b73d625afc0ea9440af 100644
|
| --- a/content/browser/gpu/gpu_process_host.cc
|
| +++ b/content/browser/gpu/gpu_process_host.cc
|
| @@ -467,11 +467,10 @@ GpuProcessHost::GpuProcessHost(int host_id, GpuProcessKind kind)
|
|
|
| g_gpu_process_hosts[kind] = this;
|
|
|
| - // Post a task to create the corresponding GpuProcessHostUIShim. The
|
| - // GpuProcessHostUIShim will be destroyed if either the browser exits,
|
| - // in which case it calls GpuProcessHostUIShim::DestroyAll, or the
|
| - // GpuProcessHost is destroyed, which happens when the corresponding GPU
|
| - // process terminates or fails to launch.
|
| + // Post a task to create the corresponding GpuProcessHostUIShim. The
|
| + // GpuProcessHostUIShim will be destroyed when the GpuProcessHost is
|
| + // destroyed, which happens when the corresponding GPU process terminates or
|
| + // fails to launch. On browser exit, the shim can be leaked.
|
| BrowserThread::PostTask(
|
| BrowserThread::UI,
|
| FROM_HERE,
|
|
|