diff options
author | Mathias Agopian <mathias@google.com> | 2010-01-29 15:07:05 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-01-29 15:07:05 -0800 |
commit | 239d5b3638ae486f715f44a8c1a71420f486049c (patch) | |
tree | 2cdbf4e857412adb5a84295f8711c983b82f1587 /core | |
parent | 0c9698ea9764c409d253635a255fa8b1ccbb7141 (diff) | |
parent | 6faf7893b6307a3295993380d61af49f2cda965c (diff) | |
download | frameworks_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.cpp | 2 |
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) { |