Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6d846c2e12f409c1e6927fd047fba221e85d1b25
      
https://github.com/WebKit/WebKit/commit/6d846c2e12f409c1e6927fd047fba221e85d1b25
  Author: Alex Christensen <[email protected]>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M Source/WTF/wtf/BlockPtr.h

  Log Message:
  -----------
  Constructing a BlockPtr from a block with ARC should not move the block
https://bugs.webkit.org/show_bug.cgi?id=275523

Reviewed by Abrar Rahman Protyasha.

When using clang with C++23, this change is needed to prevent crashes.
With ARC, if we are assigning a block to a strong block pointer, we don't need 
the WTFMove.

* Source/WTF/wtf/BlockPtr.h:
(WTF::BlockPtr<R):

Canonical link: https://commits.webkit.org/280049@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