Index: third_party/WebKit/Source/bindings/core/v8/Transferables.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/Transferables.h b/third_party/WebKit/Source/bindings/core/v8/Transferables.h |
index bec7fc0cf134378dd5717888d778f112999fa09a..a724d7d7bbf516eb940373d0a4bfd36982834a9a 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/Transferables.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/Transferables.h |
@@ -19,17 +19,16 @@ using ArrayBufferArray = HeapVector<Member<DOMArrayBufferBase>>; |
using ImageBitmapArray = HeapVector<Member<ImageBitmap>>; |
using MessagePortArray = HeapVector<Member<MessagePort>>; |
-class CORE_EXPORT Transferables final { |
- STACK_ALLOCATED(); |
+class CORE_EXPORT Transferables : public GarbageCollectedFinalized<Transferables> { |
WTF_MAKE_NONCOPYABLE(Transferables); |
public: |
- Transferables() |
- { |
- } |
+ Transferables() { } |
+ virtual ~Transferables() { } |
ArrayBufferArray arrayBuffers; |
ImageBitmapArray imageBitmaps; |
MessagePortArray messagePorts; |
+ DECLARE_VIRTUAL_TRACE(); |
}; |
// Along with extending |Transferables| to hold a new kind of transferable |