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

Unified Diff: Source/core/clipboard/DataObject.cpp

Issue 230083003: Oilpan: Move WorkerClients to the managed heap and trace its supplements. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: CR comments and unbreak the non-oilpan build Created 6 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/DataObject.h ('k') | Source/core/frame/DOMWindow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/clipboard/DataObject.cpp
diff --git a/Source/core/clipboard/DataObject.cpp b/Source/core/clipboard/DataObject.cpp
index de333b676d9dad13c77f1769fc49623403304f72..e904f89d9e290fbae463d49d80b37014efd1c28e 100644
--- a/Source/core/clipboard/DataObject.cpp
+++ b/Source/core/clipboard/DataObject.cpp
@@ -67,6 +67,10 @@ PassRefPtrWillBeRawPtr<DataObject> DataObject::copy() const
return adoptRefWillBeNoop(new DataObject(*this));
}
+DataObject::~DataObject()
+{
+}
+
size_t DataObject::length() const
{
return m_itemList.size();
@@ -268,9 +272,7 @@ void DataObject::internalAddFileItem(PassRefPtrWillBeRawPtr<DataObjectItem> item
void DataObject::trace(Visitor* visitor)
{
visitor->trace(m_itemList);
-#if ENABLE(OILPAN)
- HeapSupplementable<DataObject>::trace(visitor);
-#endif
+ WillBeHeapSupplementable<DataObject>::trace(visitor);
}
} // namespace WebCore
« no previous file with comments | « Source/core/clipboard/DataObject.h ('k') | Source/core/frame/DOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698