Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(681)

Unified Diff: base/memory/discardable_memory_android.h

Issue 136723005: Align ashmem region sizes to page size after ashmem creation failed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address William's comments Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/memory/discardable_memory_android.h
diff --git a/base/memory/discardable_memory_android.h b/base/memory/discardable_memory_android.h
index 07c2e378ee1670030118e27d1894a141e941ed80..28b256df1505b168745f92c3ad49b6dd8267a23c 100644
--- a/base/memory/discardable_memory_android.h
+++ b/base/memory/discardable_memory_android.h
@@ -15,9 +15,6 @@
namespace base {
namespace internal {
-// Returns 0 if the provided size is too high to be aligned.
-size_t AlignToNextPage(size_t size);
-
bool CreateAshmemRegion(const char* name, size_t size, int* fd, void** address);
bool CloseAshmemRegion(int fd, size_t size, void* address);
« no previous file with comments | « base/memory/discardable_memory_allocator_android_unittest.cc ('k') | base/memory/discardable_memory_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698