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

Unified Diff: Source/modules/filesystem/DraggedIsolatedFileSystem.cpp

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
Index: Source/modules/filesystem/DraggedIsolatedFileSystem.cpp
diff --git a/Source/modules/filesystem/DraggedIsolatedFileSystem.cpp b/Source/modules/filesystem/DraggedIsolatedFileSystem.cpp
index 1e8f22a36e9252e840c6154a367319c5d626a966..e0abfdc218bcb1dd7bec7faf75867095425e387a 100644
--- a/Source/modules/filesystem/DraggedIsolatedFileSystem.cpp
+++ b/Source/modules/filesystem/DraggedIsolatedFileSystem.cpp
@@ -58,9 +58,19 @@ const char* DraggedIsolatedFileSystem::supplementName()
return "DraggedIsolatedFileSystem";
}
+DraggedIsolatedFileSystem* DraggedIsolatedFileSystem::from(DataObject* dataObject)
+{
+ return static_cast<DraggedIsolatedFileSystem*>(WillBeHeapSupplement<DataObject>::from(dataObject, supplementName()));
+}
+
DraggedIsolatedFileSystem::DraggedIsolatedFileSystem(const String& filesystemId)
: m_filesystemId(filesystemId)
{
}
+void DraggedIsolatedFileSystem::trace(Visitor* visitor)
+{
+ visitor->trace(m_filesystem);
+}
+
} // namespace WebCore
« no previous file with comments | « Source/modules/filesystem/DraggedIsolatedFileSystem.h ('k') | Source/modules/performance/SharedWorkerPerformance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698