diff options
Diffstat (limited to 'printing/printed_document.cc')
-rw-r--r-- | printing/printed_document.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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<PrintedPage> > 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(); } |