#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_HEAP_DISALLOW_NEW_WRAPPER_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_HEAP_DISALLOW_NEW_WRAPPER_H_
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/heap/visitor.h"
namespace blink {
template <typename T>
class DisallowNewWrapper final
: public GarbageCollected<DisallowNewWrapper<T>> { … };
template <typename T>
DisallowNewWrapper<T>* WrapDisallowNew(const T& value) { … }
template <typename T>
DisallowNewWrapper<T>* WrapDisallowNew(T&& value) { … }
}
#endif