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

Unified Diff: Source/core/clipboard/DataTransferItem.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/DataTransfer.idl ('k') | Source/core/clipboard/DataTransferItem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/clipboard/DataTransferItem.h
diff --git a/Source/core/clipboard/DataTransferItem.h b/Source/core/clipboard/DataTransferItem.h
index eaf12f4c516d1b24b7c2cea2dbff73f1b04669d6..2e1da11a23de5f7a9b9609be5417131b34d5669f 100644
--- a/Source/core/clipboard/DataTransferItem.h
+++ b/Source/core/clipboard/DataTransferItem.h
@@ -46,12 +46,11 @@ class DataTransfer;
class StringCallback;
class ExecutionContext;
-class CORE_EXPORT DataTransferItem final : public RefCountedWillBeGarbageCollected<DataTransferItem>, public ScriptWrappable {
- DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(DataTransferItem);
+class CORE_EXPORT DataTransferItem final : public GarbageCollected<DataTransferItem>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
WTF_MAKE_NONCOPYABLE(DataTransferItem);
public:
- static PassRefPtrWillBeRawPtr<DataTransferItem> create(PassRefPtrWillBeRawPtr<DataTransfer>, PassRefPtrWillBeRawPtr<DataObjectItem>);
+ static DataTransferItem* create(DataTransfer*, DataObjectItem*);
String kind() const;
String type() const;
@@ -65,10 +64,10 @@ public:
DECLARE_TRACE();
private:
- DataTransferItem(PassRefPtrWillBeRawPtr<DataTransfer>, PassRefPtrWillBeRawPtr<DataObjectItem>);
+ DataTransferItem(DataTransfer*, DataObjectItem*);
- RefPtrWillBeMember<DataTransfer> m_dataTransfer;
- RefPtrWillBeMember<DataObjectItem> m_item;
+ Member<DataTransfer> m_dataTransfer;
+ Member<DataObjectItem> m_item;
};
} // namespace blink
« no previous file with comments | « Source/core/clipboard/DataTransfer.idl ('k') | Source/core/clipboard/DataTransferItem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698