| Index: Source/platform/heap/Handle.h
|
| diff --git a/Source/platform/heap/Handle.h b/Source/platform/heap/Handle.h
|
| index a4b5ce3ba9f766f18cd5ce6bb05cd379f4e2cef1..65af57009fbf158daa59a3e214c439d0375b6527 100644
|
| --- a/Source/platform/heap/Handle.h
|
| +++ b/Source/platform/heap/Handle.h
|
| @@ -46,23 +46,6 @@ namespace blink {
|
|
|
| template<typename T> class HeapTerminatedArray;
|
|
|
| -// Template to determine if a class is a GarbageCollectedMixin by checking if it
|
| -// has IsGarbageCollectedMixinMarker
|
| -template<typename T>
|
| -struct IsGarbageCollectedMixin {
|
| -private:
|
| - typedef char YesType;
|
| - struct NoType {
|
| - char padding[8];
|
| - };
|
| -
|
| - template <typename U> static YesType checkMarker(typename U::IsGarbageCollectedMixinMarker*);
|
| - template <typename U> static NoType checkMarker(...);
|
| -
|
| -public:
|
| - static const bool value = sizeof(checkMarker<T>(nullptr)) == sizeof(YesType);
|
| -};
|
| -
|
| template <typename T>
|
| struct IsGarbageCollectedType {
|
| using TrueType = char;
|
|
|