Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d881d6bac4c105ffef4ff3b13e62746edd61e3fa
      
https://github.com/WebKit/WebKit/commit/d881d6bac4c105ffef4ff3b13e62746edd61e3fa
  Author: Ahmad Saleem <[email protected]>
  Date:   2026-07-28 (Tue, 28 Jul 2026)

  Changed paths:
    M Source/WebCore/platform/mediastream/MediaStreamPrivate.cpp

  Log Message:
  -----------
  MediaStreamPrivate constructor copies the tracks vector instead of moving it
https://bugs.webkit.org/show_bug.cgi?id=320166
rdar://183100852

Reviewed by Youenn Fablet.

MediaStreamPrivate's constructor takes MediaStreamTrackPrivateVector&&
but initialized m_tracks via m_tracks(tracks), copying the vector
instead of moving it, even though tracks is unused afterward

* Source/WebCore/platform/mediastream/MediaStreamPrivate.cpp:
(WebCore::MediaStreamPrivate::MediaStreamPrivate):

Canonical link: https://commits.webkit.org/318048@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to