Commit 017a9d86 authored by Keishi Hattori's avatar Keishi Hattori Committed by Commit Bot

blink_gc_plugin: rename to DISALLOW_NEW_EXCEPT_PLACEMENT_NEW

Rename ALLOW_ONLY_INLINE_ALLOCATION to DISALLOW_NEW_EXCEPT_PLACEMENT_NEW in blink_gc_plugin tests to match actual code.

Bug: 
Change-Id: I08493c3b348f12075a5cd6fb32e769bc342cf5be
Reviewed-on: https://chromium-review.googlesource.com/720343Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Keishi Hattori <keishi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#509279}
parent 07624e07
......@@ -17,7 +17,7 @@ public:
class HeapObject;
class PartOther {
ALLOW_ONLY_INLINE_ALLOCATION();
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
void Trace(Visitor*);
......
......@@ -179,10 +179,10 @@ using namespace WTF;
void* operator new(size_t) = delete; \
void* operator new(size_t, void*) = delete;
#define ALLOW_ONLY_INLINE_ALLOCATION() \
public: \
void* operator new(size_t, void*); \
private: \
#define DISALLOW_NEW_EXCEPT_PLACEMENT_NEW() \
public: \
void* operator new(size_t, void*); \
private: \
void* operator new(size_t) = delete;
#define GC_PLUGIN_IGNORE(bug) \
......
......@@ -37,7 +37,7 @@ private:
};
class InlineObject {
ALLOW_ONLY_INLINE_ALLOCATION();
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
void Trace(Visitor*);
private:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment