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

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

Issue 200373003: Oilpan: make DataObject and SharedWorker heap Supplementables. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add missing HeapSupplementable<> trace() calls Created 6 years, 9 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 | « no previous file | Source/core/clipboard/DataObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/clipboard/DataObject.h
diff --git a/Source/core/clipboard/DataObject.h b/Source/core/clipboard/DataObject.h
index 247ca0f5bc62444928d015ec407cf0c27f4e9a95..905ecbb22a16f2485c9358ae4d22444b86631747 100644
--- a/Source/core/clipboard/DataObject.h
+++ b/Source/core/clipboard/DataObject.h
@@ -50,7 +50,8 @@ class SharedBuffer;
// A data object for holding data that would be in a clipboard or moved
// during a drag-n-drop operation. This is the data that WebCore is aware
// of and is not specific to a platform.
-class DataObject : public RefCountedWillBeGarbageCollectedFinalized<DataObject>, public Supplementable<DataObject> {
+class DataObject : public RefCountedWillBeGarbageCollectedFinalized<DataObject>, public WillBeHeapSupplementable<DataObject> {
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DataObject);
public:
static PassRefPtrWillBeRawPtr<DataObject> createFromPasteboard(PasteMode);
static PassRefPtrWillBeRawPtr<DataObject> create();
@@ -95,7 +96,6 @@ public:
const String& filenameForNavigation() const { return m_filenameForNavigation; }
void setFilenameForNavigation(const String& filename) { m_filenameForNavigation = filename; }
- // FIXME: oilpan: This trace() has to trace Supplementable.
void trace(Visitor*);
private:
« no previous file with comments | « no previous file | Source/core/clipboard/DataObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698