Use gpu::Mailbox in IPCs instead of std::string
commit8a19b5acd2bcc8e1e11643786d8ac830867ef3f5
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 7 Mar 2013 05:33:41 +0000 (7 05:33 +0000)
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 7 Mar 2013 05:33:41 +0000 (7 05:33 +0000)
treee90965dc48e5d7f9b407354ae5ed6903accf3227
parente652df3e915ab9720480158f261a285e4a696a77
Use gpu::Mailbox in IPCs instead of std::string

gpu::Mailbox is safer since the size is checked in the deserializer. It's also
overall less code.

BUG=None

Review URL: https://chromiumcodereview.appspot.com/12440005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186627 0039d316-1c4b-4281-b951-d872f2087c98
28 files changed:
cc/texture_layer_unittest.cc
cc/texture_mailbox.cc
cc/texture_mailbox.h
content/browser/browser_plugin/browser_plugin_guest.cc
content/browser/browser_plugin/browser_plugin_guest.h
content/browser/browser_plugin/browser_plugin_guest_manager.cc
content/browser/browser_plugin/browser_plugin_guest_manager.h
content/browser/gpu/gpu_process_host_ui_shim.cc
content/browser/renderer_host/image_transport_factory.cc
content/browser/renderer_host/render_widget_host_view_android.cc
content/browser/renderer_host/render_widget_host_view_aura.cc
content/browser/renderer_host/render_widget_host_view_aura.h
content/common/browser_plugin/browser_plugin_messages.h
content/common/gpu/gpu_messages.h
content/common/gpu/texture_image_transport_surface.cc
content/common/gpu/texture_image_transport_surface.h
content/renderer/browser_plugin/browser_plugin.cc
content/renderer/browser_plugin/browser_plugin.h
content/renderer/browser_plugin/browser_plugin_compositing_helper.cc
content/renderer/browser_plugin/browser_plugin_compositing_helper.h
content/renderer/browser_plugin/browser_plugin_manager_impl.cc
content/renderer/browser_plugin/browser_plugin_manager_impl.h
gpu/command_buffer/service/mailbox_manager.cc
gpu/command_buffer/service/mailbox_manager.h
ui/compositor/DEPS
ui/compositor/compositor.cc
ui/compositor/compositor.gyp
ui/compositor/compositor.h