summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-01-29 15:07:05 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-01-29 15:07:05 -0800
commit239d5b3638ae486f715f44a8c1a71420f486049c (patch)
tree2cdbf4e857412adb5a84295f8711c983b82f1587 /core
parent0c9698ea9764c409d253635a255fa8b1ccbb7141 (diff)
parent6faf7893b6307a3295993380d61af49f2cda965c (diff)
downloadframeworks_base-239d5b3638ae486f715f44a8c1a71420f486049c.zip
frameworks_base-239d5b3638ae486f715f44a8c1a71420f486049c.tar.gz
frameworks_base-239d5b3638ae486f715f44a8c1a71420f486049c.tar.bz2
Merge "Simplify the MemoryDealer implementation"
Diffstat (limited to 'core')
-rw-r--r--core/jni/CursorWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/CursorWindow.cpp b/core/jni/CursorWindow.cpp
index 7864189..694514e 100644
--- a/core/jni/CursorWindow.cpp
+++ b/core/jni/CursorWindow.cpp
@@ -60,7 +60,7 @@ bool CursorWindow::initBuffer(bool localOnly)
{
//TODO Use a non-memory dealer mmap region for localOnly
- mHeap = new MemoryDealer(new SharedHeap(mMaxSize, 0, "CursorWindow"));
+ mHeap = new MemoryDealer(mMaxSize, "CursorWindow");
if (mHeap != NULL) {
mMemory = mHeap->allocate(mMaxSize);
if (mMemory != NULL) {