Bug 1300459 - Pass MediaInfo by const-ref to SetMediaInfo - r=jya

MozReview-Commit-ID: 5KvCBHmI1JC
This commit is contained in:
Gerald Squelart
2016-09-05 14:23:23 +10:00
parent 08c41f8af8
commit 04eb9daee8
2 changed files with 2 additions and 2 deletions

View File

@@ -6541,7 +6541,7 @@ HTMLMediaElement::ShouldElementBePaused()
}
void
HTMLMediaElement::SetMediaInfo(const MediaInfo aInfo)
HTMLMediaElement::SetMediaInfo(const MediaInfo& aInfo)
{
mMediaInfo = aInfo;
AudioCaptureStreamChangeIfNeeded();