summaryrefslogtreecommitdiffstats
path: root/base/shared_memory_posix.cc
diff options
context:
space:
mode:
authormichaelbai@google.com <michaelbai@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-07 20:46:50 +0000
committermichaelbai@google.com <michaelbai@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-07 20:46:50 +0000
commit3132e35cb49119f36a529f2370d9de5887582bc2 (patch)
treee23bdd40d066e3523e870c46ea9d77189d83d954 /base/shared_memory_posix.cc
parent16adff66ea7224ddd91d01160a7bcc54f5d8b5a6 (diff)
downloadchromium_src-3132e35cb49119f36a529f2370d9de5887582bc2.zip
chromium_src-3132e35cb49119f36a529f2370d9de5887582bc2.tar.gz
chromium_src-3132e35cb49119f36a529f2370d9de5887582bc2.tar.bz2
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
Diffstat (limited to 'base/shared_memory_posix.cc')
-rw-r--r--base/shared_memory_posix.cc2
1 files changed, 1 insertions, 1 deletions
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;