[webkit-changes] [WebKit/WebKit] ced686: Fix PlayStation build following 278797 at main

Ross Kirsling noreply at github.com
Wed May 15 07:15:34 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ced686d42f0a56cf0854f4960775465e25136a34
      https://github.com/WebKit/WebKit/commit/ced686d42f0a56cf0854f4960775465e25136a34
  Author: Ross Kirsling <ross.kirsling at sony.com>
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
    M Source/WebCore/html/CanvasBase.cpp

  Log Message:
  -----------
  Fix PlayStation build following 278797 at main
https://bugs.webkit.org/show_bug.cgi?id=274205

Unreviewed build fix.

C++20 makes std::memory_order an enum class, which is pretty,
but the enum itself already existed, so we can use its values directly for greater compatibility.

* Source/WebCore/html/CanvasBase.cpp:
(WebCore::CanvasBase::memoryCost const):
(WebCore::CanvasBase::setImageBuffer const):
std::memory_order::relaxed -> std::memory_order_relaxed

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