Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5df2953b4ca7158afd166f3f8c130d1a8888cf0f
      
https://github.com/WebKit/WebKit/commit/5df2953b4ca7158afd166f3f8c130d1a8888cf0f
  Author: Anne van Kesteren <[email protected]>
  Date:   2025-04-16 (Wed, 16 Apr 2025)

  Changed paths:
    M Source/WebCore/Modules/mediarecorder/MediaRecorder.cpp
    M Source/WebCore/dom/MessagePort.cpp

  Log Message:
  -----------
  Reduce reference count churn in MessagePort and MediaRecorder
https://bugs.webkit.org/show_bug.cgi?id=291622

Reviewed by Youenn Fablet.

In 293749@main we realized we could make PendingActivity's m_thisObject
const.

This means that the changes made to MessagePort in 293625@main and
MediaRecorder in 292150@main did not in fact have to keep a reference
to it, so we undo that here.

* Source/WebCore/Modules/mediarecorder/MediaRecorder.cpp:
(WebCore::MediaRecorder::startRecording):
(WebCore::MediaRecorder::pauseRecording):
(WebCore::MediaRecorder::resumeRecording):
(WebCore::MediaRecorder::fetchData):
(WebCore::MediaRecorder::trackEnded):
* Source/WebCore/dom/MessagePort.cpp:
(WebCore::MessagePort::dispatchMessages):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to