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

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

Issue 1159583002: Eagerly sweep MediaKeySession objects. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated to use EAGER_FINALIZE() Created 5 years, 7 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.h
diff --git a/Source/modules/encryptedmedia/MediaKeySession.h b/Source/modules/encryptedmedia/MediaKeySession.h
index f9560922019e141794ac3a9f4b59028d43eb4fd8..7ece45ce7644e98d08c0b051876e1946f5112051 100644
--- a/Source/modules/encryptedmedia/MediaKeySession.h
+++ b/Source/modules/encryptedmedia/MediaKeySession.h
@@ -89,6 +89,8 @@ public:
virtual bool hasPendingActivity() const override;
virtual void stop() override;
+ // Oilpan: eagerly release owned m_session.
haraken 2015/06/04 00:49:12 It would be nice to elaborate on this a bit more.
sof 2015/06/04 06:07:22 Expanded the comment.
+ EAGERLY_FINALIZE();
DECLARE_VIRTUAL_TRACE();
private:
« no previous file with comments | « Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.h ('k') | Source/modules/encryptedmedia/MediaKeysClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698