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

Unified Diff: Source/core/clipboard/DataTransfer.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/DataObjectTest.cpp ('k') | Source/core/clipboard/DataTransfer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/clipboard/DataTransfer.h
diff --git a/Source/core/clipboard/DataTransfer.h b/Source/core/clipboard/DataTransfer.h
index aab68ee0e2aedcc9c15aebddfb87dfd03bd0877d..9f0f1d5c72a2d896c44614292e9c1babcc9c799f 100644
--- a/Source/core/clipboard/DataTransfer.h
+++ b/Source/core/clipboard/DataTransfer.h
@@ -52,7 +52,7 @@ class Range;
// Used for drag and drop and copy/paste.
// Drag and Drop: http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html
// Clipboard API (copy/paste): http://dev.w3.org/2006/webapi/clipops/clipops.html
-class CORE_EXPORT DataTransfer : public RefCountedWillBeGarbageCollectedFinalized<DataTransfer>, public ScriptWrappable {
+class CORE_EXPORT DataTransfer : public GarbageCollectedFinalized<DataTransfer>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
// Whether this transfer is serving a drag-drop or copy-paste request.
@@ -61,7 +61,7 @@ public:
DragAndDrop,
};
- static PassRefPtrWillBeRawPtr<DataTransfer> create(DataTransferType, DataTransferAccessPolicy, PassRefPtrWillBeRawPtr<DataObject>);
+ static DataTransfer* create(DataTransferType, DataTransferAccessPolicy, DataObject*);
~DataTransfer();
bool isForCopyAndPaste() const { return m_transferType == CopyAndPaste; }
@@ -112,14 +112,14 @@ public:
bool hasDropZoneType(const String&);
- PassRefPtrWillBeRawPtr<DataTransferItemList> items();
+ DataTransferItemList* items();
- PassRefPtrWillBeRawPtr<DataObject> dataObject() const;
+ DataObject* dataObject() const;
DECLARE_TRACE();
private:
- DataTransfer(DataTransferType, DataTransferAccessPolicy, PassRefPtrWillBeRawPtr<DataObject>);
+ DataTransfer(DataTransferType, DataTransferAccessPolicy, DataObject*);
void setDragImage(ImageResource*, Node*, const IntPoint&);
@@ -131,7 +131,7 @@ private:
String m_dropEffect;
String m_effectAllowed;
DataTransferType m_transferType;
- RefPtrWillBeMember<DataObject> m_dataObject;
+ Member<DataObject> m_dataObject;
IntPoint m_dragLoc;
ResourcePtr<ImageResource> m_dragImage;
« no previous file with comments | « Source/core/clipboard/DataObjectTest.cpp ('k') | Source/core/clipboard/DataTransfer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698