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

Unified Diff: third_party/WebKit/Source/wtf/PartitionAllocator.h

Issue 1425533005: Rename DefaultAllocator to PartitionAllocator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « third_party/WebKit/Source/wtf/ListHashSet.h ('k') | third_party/WebKit/Source/wtf/PartitionAllocator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/PartitionAllocator.h
diff --git a/third_party/WebKit/Source/wtf/DefaultAllocator.h b/third_party/WebKit/Source/wtf/PartitionAllocator.h
similarity index 95%
rename from third_party/WebKit/Source/wtf/DefaultAllocator.h
rename to third_party/WebKit/Source/wtf/PartitionAllocator.h
index 099014d08af88acd32ff66d6043b430d5c7ceaa3..de84fb7d8beb4b3354176ce63ebb05caa9ea8b50 100644
--- a/third_party/WebKit/Source/wtf/DefaultAllocator.h
+++ b/third_party/WebKit/Source/wtf/PartitionAllocator.h
@@ -28,8 +28,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WTF_DefaultAllocator_h
-#define WTF_DefaultAllocator_h
+#ifndef WTF_PartitionAllocator_h
+#define WTF_PartitionAllocator_h
// This is the allocator that is used for allocations that are not on the
// traced, garbage collected heap. It uses FastMalloc for collections,
@@ -44,11 +44,11 @@
namespace WTF {
-class DefaultAllocatorDummyVisitor;
+class PartitionAllocatorDummyVisitor;
-class WTF_EXPORT DefaultAllocator {
+class WTF_EXPORT PartitionAllocator {
public:
- typedef DefaultAllocatorDummyVisitor Visitor;
+ typedef PartitionAllocatorDummyVisitor Visitor;
static const bool isGarbageCollected = false;
template<typename T>
@@ -185,7 +185,7 @@ private:
// The Windows compiler seems to be very eager to instantiate things it won't
// need, so unless we have this class we get compile errors.
-class DefaultAllocatorDummyVisitor {
+class PartitionAllocatorDummyVisitor {
public:
template<typename T> inline bool isHeapObjectAlive(T obj)
{
@@ -213,6 +213,6 @@ public: \
private: \
typedef int __thisIsHereToForceASemicolonAfterThisMacro
-using WTF::DefaultAllocator;
+using WTF::PartitionAllocator;
-#endif // WTF_DefaultAllocator_h
+#endif // WTF_PartitionAllocator_h
« no previous file with comments | « third_party/WebKit/Source/wtf/ListHashSet.h ('k') | third_party/WebKit/Source/wtf/PartitionAllocator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698