[webkit-changes] [WebKit/WebKit] 5b5337: Further reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAG...

Chris Dumez noreply at github.com
Tue Jan 14 09:18:40 PST 2025


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

  Changed paths:
    M Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp
    M Source/WebCore/platform/graphics/ComplexTextController.cpp
    M Source/WebCore/platform/graphics/ComplexTextController.h
    M Source/WebCore/platform/graphics/GraphicsContextGL.cpp
    M Source/WebCore/platform/graphics/GraphicsContextGL.h
    M Source/WebCore/platform/graphics/ImageBufferBackend.cpp

  Log Message:
  -----------
  Further reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in WebCore/platform/graphics
https://bugs.webkit.org/show_bug.cgi?id=285863

Reviewed by Geoffrey Garen.

* Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp:
(WebCore::WebGLRenderingContextBase::texImageImpl):
* Source/WebCore/platform/graphics/ComplexTextController.cpp:
(WebCore::ComplexTextController::finishConstruction):
(WebCore::ComplexTextController::advanceByCombiningCharacterSequence):
(WebCore::ComplexTextController::adjustGlyphsAndAdvances):
* Source/WebCore/platform/graphics/ComplexTextController.h:
(WebCore::ComplexTextController::ComplexTextRun::glyphs const):
(WebCore::ComplexTextController::ComplexTextRun::baseAdvances const):
(WebCore::ComplexTextController::ComplexTextRun::glyphOrigins const):
* Source/WebCore/platform/graphics/GraphicsContextGL.cpp:
(WebCore::packPixels):
(WebCore::GraphicsContextGL::packImageData):
(WebCore::GraphicsContextGL::extractPixelBuffer):
(WebCore::GraphicsContextGL::extractTextureData):
* Source/WebCore/platform/graphics/GraphicsContextGL.h:
* Source/WebCore/platform/graphics/ImageBufferBackend.cpp:

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