Chromium Code Reviews
Descriptioncontent: Remove some unused code.
. ChildGpuMemoryBufferManager is used only by renderer child processes
(only RenderThreadImpl creates and uses it). So remove the code in the
browser process that handles messages from it for non-renderer
processes.
. RenderMessageFilter::gpu_process_id_ is used in only one place: it is
used to find the associated GpuProcessHost. However, if it does not
exist anymore, then the code simply creates a new GpuProcessHost
instance and uses that. The code can just use GpuProcessHost::Get()
instead, which returns the existing sandboxed gpu process if it exists,
and creates a new one otherwise. So using |gpu_process_id_| is not
actually necessary.
BUG=643746
Committed: https://crrev.com/5196acbe6971a34399bd56a0e5fe801652b2346d
Cr-Commit-Position: refs/heads/master@{#434085}
Patch Set 1 #
Messages
Total messages: 22 (11 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||