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

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

Issue 1433983002: Rename IsAllowOnlyInlineAllocation<T> to AllowsOnlyPlacementNew<T>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/wtf/Deque.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/Allocator.h
diff --git a/third_party/WebKit/Source/wtf/Allocator.h b/third_party/WebKit/Source/wtf/Allocator.h
index bd03e4ad14036e27988e7a3a6af9223e594d91eb..a6ddd0b916d5d3dcd12cc59cbf4ab1516c74db6f 100644
--- a/third_party/WebKit/Source/wtf/Allocator.h
+++ b/third_party/WebKit/Source/wtf/Allocator.h
@@ -33,16 +33,16 @@ namespace WTF {
// method. That trace method will be called automatically by the on-heap
// collections.
//
-#define DISALLOW_NEW() \
+#define DISALLOW_NEW() \
private: \
void* operator new(size_t) = delete; \
void* operator new(size_t, NotNullTag, void*) = delete; \
void* operator new(size_t, void*) = delete; \
public:
-#define DISALLOW_NEW_EXCEPT_PLACEMENT_NEW() \
+#define DISALLOW_NEW_EXCEPT_PLACEMENT_NEW() \
public: \
- using IsAllowOnlyInlineAllocation = int; \
+ using IsAllowOnlyPlacementNew = int; \
void* operator new(size_t, NotNullTag, void* location) { return location; } \
void* operator new(size_t, void* location) { return location; } \
private: \
« no previous file with comments | « no previous file | third_party/WebKit/Source/wtf/Deque.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698