Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fecef8215e3584312bd6957686c644d5a891b3aa
      
https://github.com/WebKit/WebKit/commit/fecef8215e3584312bd6957686c644d5a891b3aa
  Author: Fady Farag <[email protected]>
  Date:   2026-07-16 (Thu, 16 Jul 2026)

  Changed paths:
    M Source/WebCore/platform/Pasteboard.h
    M Source/WebCore/platform/gamepad/GamepadConstants.cpp
    M Source/WebCore/platform/gamepad/GamepadConstants.h
    M Source/WebCore/platform/mac/PasteboardMac.mm
    M Source/WebCore/platform/network/ResourceErrorBase.cpp
    M Source/WebCore/platform/network/ResourceErrorBase.h

  Log Message:
  -----------
  Use C++17 `inline constexpr` variables instead of `extern const` in WebCore
https://bugs.webkit.org/show_bug.cgi?id=319532
rdar://182360378

Reviewed by Chris Dumez.

This lets the compiler see the constant values for better optimization.

* Source/WebCore/platform/Pasteboard.h:
* Source/WebCore/platform/gamepad/GamepadConstants.cpp:
* Source/WebCore/platform/gamepad/GamepadConstants.h:
* Source/WebCore/platform/mac/PasteboardMac.mm:
* Source/WebCore/platform/network/ResourceErrorBase.cpp:
* Source/WebCore/platform/network/ResourceErrorBase.h:

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



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

Reply via email to