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/emf_win.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'printing/emf_win.h') diff --git a/printing/emf_win.h b/printing/emf_win.h index 7a21b1b..9f3dffe 100644 --- a/printing/emf_win.h +++ b/printing/emf_win.h @@ -34,7 +34,7 @@ class Emf { bool CreateDc(HDC sibling, const RECT* rect); // Load a EMF data stream. buffer contains EMF data. - bool CreateFromData(const void* buffer, size_t size); + bool CreateFromData(const void* buffer, uint32 size); // TODO(maruel): CreateFromFile(). If ever used. Maybe users would like to // have the ability to save web pages to an EMF file? Afterward, it is easy to @@ -68,10 +68,10 @@ class Emf { gfx::Rect GetBounds() const; // Retrieves the EMF stream size. - unsigned GetDataSize() const; + uint32 GetDataSize() const; // Retrieves the EMF stream. - bool GetData(void* buffer, size_t size) const; + bool GetData(void* buffer, uint32 size) const; // Retrieves the EMF stream. It is an helper function. bool GetData(std::vector* buffer) const; -- cgit v1.1