content: Cleanup GpuMemoryBufferImpl destruction.
commitfdf0a9f6d6f29d68a0a55507f912bd82688303b1
authorreveman <reveman@chromium.org>
Wed, 24 Sep 2014 14:47:48 +0000 (24 07:47 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 24 Sep 2014 14:48:02 +0000 (24 14:48 +0000)
tree6931d5d55d20d39e82e1acb72f7fbb6e779860d4
parent25584136ce30ad399720cf1af27c4579810beeaf
content: Cleanup GpuMemoryBufferImpl destruction.

Use an internal callback instead of requiring the client to
pass a scoped_ptr<> to a "Delete" function.

BUG=416873

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

Cr-Commit-Position: refs/heads/master@{#296411}
21 files changed:
content/browser/gpu/browser_gpu_channel_host_factory.cc
content/browser/gpu/browser_gpu_channel_host_factory.h
content/common/gpu/client/command_buffer_proxy_impl.cc
content/common/gpu/client/gpu_channel_host.h
content/common/gpu/client/gpu_memory_buffer_impl.cc
content/common/gpu/client/gpu_memory_buffer_impl.h
content/common/gpu/client/gpu_memory_buffer_impl_android.cc
content/common/gpu/client/gpu_memory_buffer_impl_io_surface.cc
content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h
content/common/gpu/client/gpu_memory_buffer_impl_linux.cc
content/common/gpu/client/gpu_memory_buffer_impl_mac.cc
content/common/gpu/client/gpu_memory_buffer_impl_ozone.cc
content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc
content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h
content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc
content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h
content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc
content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.h
content/common/gpu/client/gpu_memory_buffer_impl_win.cc
content/renderer/render_thread_impl.cc
content/renderer/render_thread_impl.h