| Index: Source/core/page/DragState.h
|
| diff --git a/Source/core/page/DragState.h b/Source/core/page/DragState.h
|
| index 3248cc3290f7b9379b8365e032ff4f55a27e2775..0058502777c737e867e278f4f7bce6db2b314faa 100644
|
| --- a/Source/core/page/DragState.h
|
| +++ b/Source/core/page/DragState.h
|
| @@ -27,6 +27,7 @@
|
| #define DragState_h
|
|
|
| #include "core/page/DragActions.h"
|
| +#include "platform/heap/Handle.h"
|
| #include "wtf/Noncopyable.h"
|
| #include "wtf/RefPtr.h"
|
|
|
| @@ -35,14 +36,15 @@ namespace blink {
|
| class DataTransfer;
|
| class Node;
|
|
|
| -class DragState : public NoBaseWillBeGarbageCollected<DragState> {
|
| +// TODO(Oilpan): when Node is always on the heap, just derive from GarbageCollected<>.
|
| +class DragState final : public GarbageCollectedFinalized<DragState> {
|
| WTF_MAKE_NONCOPYABLE(DragState);
|
| public:
|
| DragState() { }
|
|
|
| RefPtrWillBeMember<Node> m_dragSrc; // element that may be a drag source, for the current mouse gesture
|
| DragSourceAction m_dragType;
|
| - RefPtrWillBeMember<DataTransfer> m_dragDataTransfer; // used on only the source side of dragging
|
| + Member<DataTransfer> m_dragDataTransfer; // used on only the source side of dragging
|
|
|
| DEFINE_INLINE_TRACE()
|
| {
|
|
|