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 --- printing/printed_document.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'printing/printed_document.cc') diff --git a/printing/printed_document.cc b/printing/printed_document.cc index 785b846..7452e0e 100644 --- a/printing/printed_document.cc +++ b/printing/printed_document.cc @@ -127,7 +127,7 @@ void PrintedDocument::DisconnectSource() { mutable_.source_ = NULL; } -size_t PrintedDocument::MemoryUsage() const { +uint32 PrintedDocument::MemoryUsage() const { std::vector< scoped_refptr > pages_copy; { AutoLock lock(lock_); @@ -140,7 +140,7 @@ size_t PrintedDocument::MemoryUsage() const { } } } - size_t total = 0; + uint32 total = 0; for (size_t i = 0; i < pages_copy.size(); ++i) { total += pages_copy[i]->native_metafile()->GetDataSize(); } -- cgit v1.1