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

Unified Diff: Source/modules/encryptedmedia/MediaKeySession.cpp

Issue 949093002: InlinedVisitor: Migrate encryptedmedia 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
Index: Source/modules/encryptedmedia/MediaKeySession.cpp
diff --git a/Source/modules/encryptedmedia/MediaKeySession.cpp b/Source/modules/encryptedmedia/MediaKeySession.cpp
index 116b3d2ddbc527320c221398b3b145b74a37695f..5de27abb2f4f5ff42145938c1d630965abb8f7aa 100644
--- a/Source/modules/encryptedmedia/MediaKeySession.cpp
+++ b/Source/modules/encryptedmedia/MediaKeySession.cpp
@@ -201,7 +201,7 @@ public:
{
}
- void trace(Visitor* visitor)
+ DEFINE_INLINE_TRACE()
{
visitor->trace(m_result);
}
@@ -250,7 +250,7 @@ public:
resolve();
}
- void trace(Visitor* visitor)
+ DEFINE_INLINE_TRACE()
{
visitor->trace(m_session);
ContentDecryptionModuleResultPromise::trace(visitor);
@@ -300,7 +300,7 @@ public:
resolve(result);
}
- void trace(Visitor* visitor)
+ DEFINE_INLINE_TRACE()
{
visitor->trace(m_session);
ContentDecryptionModuleResultPromise::trace(visitor);
@@ -934,7 +934,7 @@ void MediaKeySession::stop()
m_asyncEventQueue->close();
}
-void MediaKeySession::trace(Visitor* visitor)
+DEFINE_TRACE(MediaKeySession)
{
visitor->trace(m_asyncEventQueue);
visitor->trace(m_pendingActions);

Powered by Google App Engine
This is Rietveld 408576698