mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-26 00:57:30 +09:00
dom/media: follow-up rev eb44f633, add reference symbol `&' to prevent unneeded AddRef()ing
mozilla wrote in same style in bd2c9f62b3/dom/locks/LockManagerParent.cpp (L49)
This commit is contained in:
parent
941902c878
commit
db8e04921c
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ MediaSourceDemuxer::DoDetachSourceBuffer(
|
||||||
{
|
{
|
||||||
MOZ_ASSERT(OnTaskQueue());
|
MOZ_ASSERT(OnTaskQueue());
|
||||||
mSourceBuffers.RemoveElementsBy(
|
mSourceBuffers.RemoveElementsBy(
|
||||||
[&aSourceBuffer](const RefPtr<TrackBuffersManager> aLinkedSourceBuffer) {
|
[&aSourceBuffer](const RefPtr<TrackBuffersManager>& aLinkedSourceBuffer) {
|
||||||
return aLinkedSourceBuffer == aSourceBuffer;
|
return aLinkedSourceBuffer == aSourceBuffer;
|
||||||
});
|
});
|
||||||
if (aSourceBuffer == mAudioTrack) {
|
if (aSourceBuffer == mAudioTrack) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue