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

Unified Diff: Source/modules/filesystem/SyncCallbackHelper.h

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/MetadataCallback.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/SyncCallbackHelper.h
diff --git a/Source/modules/filesystem/SyncCallbackHelper.h b/Source/modules/filesystem/SyncCallbackHelper.h
index a7dcbe5064afa811c9be2e48fe87befdf55efe12..8d13e662c47e6fc65385aef0d39e49abc0962e68 100644
--- a/Source/modules/filesystem/SyncCallbackHelper.h
+++ b/Source/modules/filesystem/SyncCallbackHelper.h
@@ -86,7 +86,7 @@ public:
SuccessCallback* successCallback() { return SuccessCallbackImpl::create(this); }
ErrorCallback* errorCallback() { return ErrorCallbackImpl::create(this); }
- void trace(Visitor* visitor)
+ DEFINE_INLINE_TRACE()
{
visitor->trace(m_result);
}
@@ -167,7 +167,7 @@ struct EmptyType : public GarbageCollected<EmptyType> {
return 0;
}
- void trace(Visitor*) { }
+ DEFINE_INLINE_TRACE() { }
};
typedef SyncCallbackHelper<EntryCallback, Entry*, EntrySync> EntrySyncCallbackHelper;
« no previous file with comments | « Source/modules/filesystem/MetadataCallback.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698