[webkit-changes] [WebKit/WebKit] 3794d3: Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in For...

Chris Dumez noreply at github.com
Sat Jan 18 10:39:51 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3794d39006efb3fba89c2b0a34ee4a12365526f6
      https://github.com/WebKit/WebKit/commit/3794d39006efb3fba89c2b0a34ee4a12365526f6
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2025-01-18 (Sat, 18 Jan 2025)

  Changed paths:
    M Source/WTF/wtf/text/ParsingUtilities.h
    M Source/WebCore/platform/graphics/FormatConverter.cpp
    M Source/WebCore/platform/graphics/FormatConverter.h
    M Source/WebCore/platform/graphics/GraphicsContextGL.cpp

  Log Message:
  -----------
  Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in FormatConverter.cpp
https://bugs.webkit.org/show_bug.cgi?id=286023

Reviewed by Geoffrey Garen.

* Source/WTF/wtf/text/ParsingUtilities.h:
(WTF::clampedMoveCursor):
* Source/WebCore/platform/graphics/FormatConverter.cpp:
(WebCore::unpack):
(WebCore::uint8_t>):
(WebCore::float>):
(WebCore::pack):
(WebCore::uint16_t>):
(WebCore::int8_t>):
(WebCore::int16_t>):
(WebCore::uint32_t>):
(WebCore::int32_t>):
(WebCore::FormatConverter::convert):
* Source/WebCore/platform/graphics/FormatConverter.h:
(WebCore::FormatConverter::FormatConverter):
* Source/WebCore/platform/graphics/GraphicsContextGL.cpp:
(WebCore::packPixels):

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