content/gpu: Ownership and lifetime cleanup for CommandBufferProxyImpl.
commit0e85ce5800f077ba109a52dc990a51ab28674d02
authorsunnyps <sunnyps@chromium.org>
Tue, 4 Aug 2015 05:01:13 +0000 (3 22:01 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 4 Aug 2015 05:03:36 +0000 (4 05:03 +0000)
treee027c699947bd0cf2306ec1ad0e0fd12b66860d7
parent337bf40e8a9e43a90f577161c1e3d8801b43ecf6
content/gpu: Ownership and lifetime cleanup for CommandBufferProxyImpl.

Ownership and lifetime of CommandBufferProxyImpl was confusing because
it predates the use of smart pointers in chromium. With this CL command
buffer proxies are managed automatically, GpuChannelHost no longer keeps
raw pointers to the command buffer proxies and GetRouteID was renamed to
route_id for consistency.

BUG=514809

Review URL: https://codereview.chromium.org/1259183006

Cr-Commit-Position: refs/heads/master@{#341678}
14 files changed:
content/common/gpu/client/command_buffer_proxy_impl.cc
content/common/gpu/client/command_buffer_proxy_impl.h
content/common/gpu/client/gpu_channel_host.cc
content/common/gpu/client/gpu_channel_host.h
content/common/gpu/client/gpu_video_decode_accelerator_host.cc
content/common/gpu/client/gpu_video_encode_accelerator_host.cc
content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
content/renderer/media/renderer_gpu_video_accelerator_factories.cc
content/renderer/pepper/pepper_video_decoder_host.cc
content/renderer/pepper/pepper_video_encoder_host.cc
content/renderer/pepper/pepper_video_encoder_host.h
content/renderer/pepper/ppb_graphics_3d_impl.cc
content/renderer/pepper/ppb_graphics_3d_impl.h
content/renderer/pepper/ppb_video_decoder_impl.cc