#ifndef GIN_V8_PLATFORM_THREAD_ISOLATED_ALLOCATOR_H_
#define GIN_V8_PLATFORM_THREAD_ISOLATED_ALLOCATOR_H_
#include "partition_alloc/buildflags.h"
#if PA_BUILDFLAG(ENABLE_THREAD_ISOLATION)
#if !PA_BUILDFLAG(ENABLE_PKEYS)
#error Not implemented for non-pkey thread isolation
#endif
#include "gin/gin_export.h"
#include "partition_alloc/partition_alloc.h"
#include "v8/include/v8-platform.h"
namespace gin {
class GIN_EXPORT ThreadIsolatedAllocator final
: public v8::ThreadIsolatedAllocator { … };
}
#endif
#endif