Index: Source/core/clipboard/DataTransferItemList.h |
diff --git a/Source/core/clipboard/DataTransferItemList.h b/Source/core/clipboard/DataTransferItemList.h |
index 2d555267f1084f7d8e8e95f3c976c2eb191868a5..7aa4d4fd1b977a0108a571e8aa8f1aa4aa266a64 100644 |
--- a/Source/core/clipboard/DataTransferItemList.h |
+++ b/Source/core/clipboard/DataTransferItemList.h |
@@ -46,26 +46,25 @@ class File; |
class ExceptionState; |
-class DataTransferItemList final : public RefCountedWillBeGarbageCollected<DataTransferItemList>, public ScriptWrappable { |
- DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(DataTransferItemList); |
+class DataTransferItemList final : public GarbageCollected<DataTransferItemList>, public ScriptWrappable { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
- static PassRefPtrWillBeRawPtr<DataTransferItemList> create(PassRefPtrWillBeRawPtr<DataTransfer>, PassRefPtrWillBeRawPtr<DataObject>); |
+ static DataTransferItemList* create(DataTransfer*, DataObject*); |
size_t length() const; |
- PassRefPtrWillBeRawPtr<DataTransferItem> item(unsigned long index); |
+ DataTransferItem* item(unsigned long index); |
void deleteItem(unsigned long index, ExceptionState&); |
void clear(); |
- PassRefPtrWillBeRawPtr<DataTransferItem> add(const String& data, const String& type, ExceptionState&); |
- PassRefPtrWillBeRawPtr<DataTransferItem> add(File*); |
+ DataTransferItem* add(const String& data, const String& type, ExceptionState&); |
+ DataTransferItem* add(File*); |
DECLARE_TRACE(); |
private: |
- DataTransferItemList(PassRefPtrWillBeRawPtr<DataTransfer>, PassRefPtrWillBeRawPtr<DataObject>); |
+ DataTransferItemList(DataTransfer*, DataObject*); |
- RefPtrWillBeMember<DataTransfer> m_dataTransfer; |
- RefPtrWillBeMember<DataObject> m_dataObject; |
+ Member<DataTransfer> m_dataTransfer; |
+ Member<DataObject> m_dataObject; |
}; |
} // namespace blink |