Descriptiongpu: Some code cleanups.
. Remove unused BrowserGpuChannelHostFactory::AddFilterOnIO().
. Use a weak-ptr to bind callbacks to GpuProcessHost, instead of looking
up the GpuProcessHost from the host-id (using GpuProcessHost::FromID()).
. Remove some null checks for |gpu_channel_manager_| in GpuService,
because it is created during initialization, and destroyed only in the
dtor. None of the other callbacks should trigger before initialization.
So the null checks should not be necessary.
BUG=none
Review-Url: https://codereview.chromium.org/2801943002
Cr-Commit-Position: refs/heads/master@{#463049}
Committed: https://chromium.googlesource.com/chromium/src/+/6a900aa3c26f4a4f29477926c8389e29ed8a7eff
Patch Set 1 #
Total comments: 9
Patch Set 2 : . #Patch Set 3 : . #Patch Set 4 : . #
Dependent Patchsets: Messages
Total messages: 30 (21 generated)
|