Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(526)

Unified Diff: Source/core/clipboard/DataTransferItemList.h

Issue 640303002: Enable Oilpan for core/clipboard/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: remove some slightly pointy edges Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/clipboard/DataTransferItem.idl ('k') | Source/core/clipboard/DataTransferItemList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/clipboard/DataTransferItem.idl ('k') | Source/core/clipboard/DataTransferItemList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698