From b5ab398db97d13c76d332c6567c23a575858f8c4 Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Tue, 16 Feb 2010 23:58:27 +0000 Subject: Make SharedMemory use uint32 instead of size_t. This removes the remaining size_t's from the IPC code. Review URL: http://codereview.chromium.org/581001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39164 0039d316-1c4b-4281-b951-d872f2087c98 --- gpu/command_buffer/service/command_buffer_service.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gpu/command_buffer/service/command_buffer_service.cc') diff --git a/gpu/command_buffer/service/command_buffer_service.cc b/gpu/command_buffer/service/command_buffer_service.cc index 2716d3b..bd85dc1 100644 --- a/gpu/command_buffer/service/command_buffer_service.cc +++ b/gpu/command_buffer/service/command_buffer_service.cc @@ -33,7 +33,7 @@ bool CommandBufferService::Initialize(int32 size) { size_ = size; ring_buffer_.reset(new SharedMemory); - size_t size_bytes = size * sizeof(CommandBufferEntry); + uint32 size_bytes = size * sizeof(CommandBufferEntry); if (ring_buffer_->Create(std::wstring(), false, false, size_bytes)) { if (ring_buffer_->Map(size_bytes)) return true; -- cgit v1.1