[webkit-changes] [WebKit/WebKit] f0f93c: Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in Sou...

Chris Dumez noreply at github.com
Sat Jan 4 18:36:25 PST 2025


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

  Changed paths:
    M Source/WebCore/platform/graphics/mac/ColorMac.mm
    M Source/WebCore/platform/graphics/mac/controls/ButtonMac.mm
    M Source/WebCore/platform/graphics/mac/controls/InnerSpinButtonMac.mm
    M Source/WebCore/platform/graphics/mac/controls/MenuListButtonMac.mm
    M Source/WebCore/platform/graphics/mac/controls/MenuListMac.mm
    M Source/WebCore/platform/graphics/mac/controls/ProgressBarMac.mm
    M Source/WebCore/platform/graphics/mac/controls/SearchFieldCancelButtonMac.mm
    M Source/WebCore/platform/graphics/mac/controls/SliderTrackMac.mm
    M Source/WebCore/platform/graphics/mac/controls/SwitchMacUtilities.mm
    M Source/WebCore/platform/graphics/mac/controls/ToggleButtonMac.mm
    M Source/WebCore/platform/graphics/opentype/OpenTypeCG.cpp
    M Source/WebCore/platform/graphics/opentype/OpenTypeMathData.cpp
    M Source/WebCore/platform/graphics/opentype/OpenTypeTypes.h
    M Source/WebCore/platform/graphics/opentype/OpenTypeVerticalData.cpp
    M Source/WebCore/platform/graphics/transforms/TransformOperation.cpp
    M Source/WebCore/platform/graphics/transforms/TransformationMatrix.cpp

  Log Message:
  -----------
  Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in Source/WebCore/platform/graphics
https://bugs.webkit.org/show_bug.cgi?id=285367

Reviewed by Darin Adler.

* Source/WebCore/platform/graphics/mac/ColorMac.mm:
* Source/WebCore/platform/graphics/mac/controls/ButtonMac.mm:
(WebCore::ButtonMac::cellSize const):
(WebCore::ButtonMac::cellOutsets const):
* Source/WebCore/platform/graphics/mac/controls/InnerSpinButtonMac.mm:
(WebCore::InnerSpinButtonMac::cellSize const):
* Source/WebCore/platform/graphics/mac/controls/MenuListButtonMac.mm:
(WebCore::interpolateGradient):
(WebCore::topGradientInterpolate):
(WebCore::bottomGradientInterpolate):
(WebCore::mainGradientInterpolate):
(WebCore::darkTopGradientInterpolate):
(WebCore::darkBottomGradientInterpolate):
(WebCore::darkMainGradientInterpolate):
* Source/WebCore/platform/graphics/mac/controls/MenuListMac.mm:
(WebCore::MenuListMac::cellSize const):
(WebCore::MenuListMac::cellOutsets const):
* Source/WebCore/platform/graphics/mac/controls/ProgressBarMac.mm:
(WebCore::ProgressBarMac::cellOutsets const):
* Source/WebCore/platform/graphics/mac/controls/SearchFieldCancelButtonMac.mm:
(WebCore::SearchFieldCancelButtonMac::cellSize const):
* Source/WebCore/platform/graphics/mac/controls/SliderTrackMac.mm:
(WebCore::trackGradientInterpolate):
* Source/WebCore/platform/graphics/mac/controls/SwitchMacUtilities.mm:
(WebCore::SwitchMacUtilities::cellOutsets):
* Source/WebCore/platform/graphics/mac/controls/ToggleButtonMac.mm:
(WebCore::ToggleButtonMac::cellOutsets const):
* Source/WebCore/platform/graphics/opentype/OpenTypeCG.cpp:
(WebCore::OpenType::readShortFromTable):
(WebCore::OpenType::tryGetTypoMetrics):
* Source/WebCore/platform/graphics/opentype/OpenTypeMathData.cpp:
(WebCore::OpenTypeMathData::OpenTypeMathData):
* Source/WebCore/platform/graphics/opentype/OpenTypeTypes.h:
(WebCore::OpenType::validateTableSingle):
(WebCore::OpenType::validateTable):
* Source/WebCore/platform/graphics/opentype/OpenTypeVerticalData.cpp:
(WebCore::loadHmtxTable):
(WebCore::OpenTypeVerticalData::loadMetrics):
(WebCore::OpenTypeVerticalData::loadVerticalGlyphSubstitutions):
* Source/WebCore/platform/graphics/transforms/TransformOperation.cpp:
(WebCore::TransformOperation::sharedPrimitiveType const):
* Source/WebCore/platform/graphics/transforms/TransformationMatrix.cpp:
(WebCore::decompose4):

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