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

Unified Diff: trunk/Source/wtf/WTF.cpp

Issue 23903033: Revert 157524 "Get rid of fastMallocGoodSize() and replace it wi..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 7 years, 3 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
« no previous file with comments | « trunk/Source/wtf/WTF.h ('k') | trunk/Source/wtf/wtf.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/wtf/WTF.cpp
===================================================================
--- trunk/Source/wtf/WTF.cpp (revision 157524)
+++ trunk/Source/wtf/WTF.cpp (working copy)
@@ -32,7 +32,6 @@
#include "WTF.h"
#include "wtf/PartitionAlloc.h"
-#include "wtf/QuantizedAllocation.h"
#ifndef NDEBUG
#include "wtf/MainThread.h"
@@ -42,11 +41,8 @@
extern void initializeThreading();
-PartitionAllocator<4096> Partitions::m_bufferAllocator;
-
void initialize(TimeFunction currentTimeFunction, TimeFunction monotonicallyIncreasingTimeFunction)
{
- QuantizedAllocation::init();
Partitions::initialize();
setCurrentTimeFunction(currentTimeFunction);
setMonotonicallyIncreasingTimeFunction(monotonicallyIncreasingTimeFunction);
@@ -68,4 +64,6 @@
m_bufferAllocator.shutdown();
}
+PartitionAllocator<4096> Partitions::m_bufferAllocator;
+
} // namespace WTF
« no previous file with comments | « trunk/Source/wtf/WTF.h ('k') | trunk/Source/wtf/wtf.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698