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

Unified Diff: Source/wtf/WTF.h

Issue 1041103002: PartitionAlloc: Centralize Partition allocators into one place (Part 1) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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 | « Source/wtf/Vector.h ('k') | Source/wtf/WTF.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/WTF.h
diff --git a/Source/wtf/WTF.h b/Source/wtf/WTF.h
index d42bf2a27765f71a03fec47bd7996bf4079ba8ca..c172996d415643ed56617df7aae8834437cc70e5 100644
--- a/Source/wtf/WTF.h
+++ b/Source/wtf/WTF.h
@@ -33,7 +33,6 @@
#include "wtf/Compiler.h"
#include "wtf/CurrentTime.h"
-#include "wtf/PartitionAlloc.h"
#include "wtf/WTFExport.h"
namespace WTF {
@@ -43,22 +42,6 @@ WTF_EXPORT void initialize(TimeFunction currentTimeFunction, TimeFunction monoto
WTF_EXPORT void shutdown();
WTF_EXPORT bool isShutdown();
-class WTF_EXPORT Partitions {
-public:
- static void initialize();
- static void shutdown();
- static ALWAYS_INLINE PartitionRootGeneric* getBufferPartition()
- {
- if (UNLIKELY(!s_initialized))
- initialize();
- return m_bufferAllocator.root();
- }
-
-private:
- static bool s_initialized;
- static PartitionAllocatorGeneric m_bufferAllocator;
-};
-
} // namespace WTF
#endif // WTF_h
« no previous file with comments | « Source/wtf/Vector.h ('k') | Source/wtf/WTF.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698