Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bc248617994fbd4dcaa446b123209cf59c5ef881
      
https://github.com/WebKit/WebKit/commit/bc248617994fbd4dcaa446b123209cf59c5ef881
  Author: Ahmad Saleem <[email protected]>
  Date:   2026-09-13 (Sun, 13 Sep 2026)

  Changed paths:
    M Source/WebCore/platform/network/ResourceResponseBase.cpp

  Log Message:
  -----------
  ResourceResponseBase::setHTTPVersion() copies its rvalue-reference argument 
instead of moving it
https://bugs.webkit.org/show_bug.cgi?id=324052
rdar://187287780

Reviewed by Chris Dumez.

setHTTPVersion(String&&) assigned its argument to m_httpVersion by copy,
forcing a string ref-count bump on every call even though the caller
handed off ownership. The sibling setHTTPStatusText(String&&) already
moves. Move versionText into m_httpVersion to match.

* Source/WebCore/platform/network/ResourceResponseBase.cpp:
(WebCore::ResourceResponseBase::setHTTPVersion):

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



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

Reply via email to