[webkit-changes] [WebKit/WebKit] 547bd5: [WebCore] Use NSRectFromCGRect instead of type-pun...

Rose Silicon noreply at github.com
Thu Sep 19 07:40:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 547bd5bb1b5bbd81fb8c6c8f1de449d8fca60433
      https://github.com/WebKit/WebKit/commit/547bd5bb1b5bbd81fb8c6c8f1de449d8fca60433
  Author: Rose <gfunni234 at gmail.com>
  Date:   2024-09-19 (Thu, 19 Sep 2024)

  Changed paths:
    M Source/WebCore/platform/mac/PasteboardMac.mm

  Log Message:
  -----------
  [WebCore] Use NSRectFromCGRect instead of type-punning for creating NSRect for bitmapImage
https://bugs.webkit.org/show_bug.cgi?id=279548

Do not do type-punning.

Reviewed by Alex Christensen.

* Source/WebCore/platform/mac/PasteboardMac.mm:
  (WebCore::setDragImageImpl): Use NSRectFromCGRect

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



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


More information about the webkit-changes mailing list