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

Unified Diff: Source/wtf/DefaultAllocator.h

Issue 720163002: Oilpan: Vector::reserveCapacity shouldn't reallocate backing storage always (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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: Source/wtf/DefaultAllocator.h
diff --git a/Source/wtf/DefaultAllocator.h b/Source/wtf/DefaultAllocator.h
index c87bfb11ff3ed503e7eac3bf1d353f6acbcddc0c..9309d2eb18e628750c8d07d6b5710555d3197fce 100644
--- a/Source/wtf/DefaultAllocator.h
+++ b/Source/wtf/DefaultAllocator.h
@@ -88,6 +88,10 @@ public:
return reinterpret_cast<Return>(fastMalloc(size));
}
WTF_EXPORT static void backingFree(void* address);
+ WTF_EXPORT static bool backingExpand(void*, size_t)
tkent 2014/11/14 03:54:24 Can we make this |inilne|?
haraken 2014/11/14 04:32:45 Done.
+ {
+ return false;
+ }
static void free(void* address)
{
fastFree(address);
« no previous file with comments | « Source/platform/heap/Heap.cpp ('k') | Source/wtf/Deque.h » ('j') | Source/wtf/Vector.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698