From 0ab5fab4939150bd0f30ada8a4bf6eb0f69d66c1 Mon Sep 17 00:00:00 2001 From: "cevans@chromium.org" <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> Date: Sat, 8 Dec 2012 06:00:39 +0000 Subject: Sizes going across an IPC should be uint32. BUG=164946 Review URL: https://chromiumcodereview.appspot.com/11472038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171944 0039d316-1c4b-4281-b951-d872f2087c98 --- content/common/gpu/gpu_command_buffer_stub.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'content/common/gpu/gpu_command_buffer_stub.h') diff --git a/content/common/gpu/gpu_command_buffer_stub.h b/content/common/gpu/gpu_command_buffer_stub.h index 3baed15..0519e8c 100644 --- a/content/common/gpu/gpu_command_buffer_stub.h +++ b/content/common/gpu/gpu_command_buffer_stub.h @@ -152,11 +152,11 @@ class GpuCommandBufferStub void OnAsyncFlush(int32 put_offset, uint32 flush_count); void OnEcho(const IPC::Message& message); void OnRescheduled(); - void OnCreateTransferBuffer(int32 size, + void OnCreateTransferBuffer(uint32 size, int32 id_request, IPC::Message* reply_message); void OnRegisterTransferBuffer(base::SharedMemoryHandle transfer_buffer, - size_t size, + uint32 size, int32 id_request, IPC::Message* reply_message); void OnDestroyTransferBuffer(int32 id, IPC::Message* reply_message); -- cgit v1.1