Skip to content

Commit

Permalink
Bug 1837061 - part10 : make MFCDMProxy refcount thread-safe. r=jolin
Browse files Browse the repository at this point in the history
Depends on D180399

Differential Revision: https://phabricator.services.mozilla.com/D180497
  • Loading branch information
alastor0325 committed Jun 14, 2023
1 parent 890470a commit 5b9be2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dom/media/platforms/wmf/MFCDMProxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace mozilla {
* helper methods in order to allow caller to interact with the wrapped CDM.
*/
class MFCDMProxy {
NS_INLINE_DECL_REFCOUNTING(MFCDMProxy);
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(MFCDMProxy);

explicit MFCDMProxy(IMFContentDecryptionModule* aCDM) : mCDM(aCDM) {}

Expand Down

0 comments on commit 5b9be2d

Please sign in to comment.