From 3132e35cb49119f36a529f2370d9de5887582bc2 Mon Sep 17 00:00:00 2001 From: "michaelbai@google.com" Date: Thu, 7 Jul 2011 20:46:50 +0000 Subject: Upstream android debug and log related files BUG= TEST= Review URL: http://codereview.chromium.org/7238012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91748 0039d316-1c4b-4281-b951-d872f2087c98 --- base/shared_memory_posix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base/shared_memory_posix.cc') diff --git a/base/shared_memory_posix.cc b/base/shared_memory_posix.cc index f81d88c..942a04c 100644 --- a/base/shared_memory_posix.cc +++ b/base/shared_memory_posix.cc @@ -223,7 +223,7 @@ bool SharedMemory::Map(uint32 bytes) { #if defined(OS_ANDROID) if (bytes == 0) { - int ashmem_bytes = ashmem_get_size_region(); + int ashmem_bytes = ashmem_get_size_region(mapped_file_); if (ashmem_bytes < 0) return false; -- cgit v1.1