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

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

Issue 941363003: InlinedVisitor: Migrate filesystem to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/modules/filesystem/DirectoryReader.h ('k') | Source/modules/filesystem/DirectoryReaderBase.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/DirectoryReader.cpp
diff --git a/Source/modules/filesystem/DirectoryReader.cpp b/Source/modules/filesystem/DirectoryReader.cpp
index f3d524b69e2d1acf93705acb44a8d109f0885206..080ab8e4db460bb9eb298f8d33a1647d4367e070 100644
--- a/Source/modules/filesystem/DirectoryReader.cpp
+++ b/Source/modules/filesystem/DirectoryReader.cpp
@@ -50,7 +50,7 @@ public:
m_reader->addEntries(entries);
}
- virtual void trace(Visitor* visitor) override
+ DEFINE_INLINE_VIRTUAL_TRACE()
{
visitor->trace(m_reader);
EntriesCallback::trace(visitor);
@@ -73,7 +73,7 @@ public:
m_reader->onError(error);
}
- virtual void trace(Visitor* visitor) override
+ DEFINE_INLINE_VIRTUAL_TRACE()
{
visitor->trace(m_reader);
ErrorCallback::trace(visitor);
@@ -143,7 +143,7 @@ void DirectoryReader::onError(FileError* error)
}
}
-void DirectoryReader::trace(Visitor* visitor)
+DEFINE_TRACE(DirectoryReader)
{
visitor->trace(m_entries);
visitor->trace(m_error);
« no previous file with comments | « Source/modules/filesystem/DirectoryReader.h ('k') | Source/modules/filesystem/DirectoryReaderBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698