Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4040f248d1093a21e9eaf99e6d0e705ee238a928
https://github.com/WebKit/WebKit/commit/4040f248d1093a21e9eaf99e6d0e705ee238a928
Author: Carlos Garcia Campos <[email protected]>
Date: 2026-09-21 (Mon, 21 Sep 2026)
Changed paths:
M Source/WebCore/platform/graphics/skia/GraphicsContextGLSkia.cpp
M Source/WebCore/platform/graphics/skia/ImageBufferSkiaSurfaceBackend.cpp
M Source/WebCore/platform/graphics/skia/SkiaSpanExtras.h
Log Message:
-----------
[Skia] Use a reference instead of a pointer for SkData span() and
mutableSpan() implementations
https://bugs.webkit.org/show_bug.cgi?id=323598
Reviewed by Nikolas Zimmermann.
They always expect a non-null parameter, so better use a reference.
* Source/WebCore/platform/graphics/skia/GraphicsContextGLSkia.cpp:
(WebCore::GraphicsContextGLImageExtractor::extractImage):
* Source/WebCore/platform/graphics/skia/ImageBufferSkiaSurfaceBackend.cpp:
(WebCore::ImageBufferSkiaSurfaceBackend::putPixelBuffer):
* Source/WebCore/platform/graphics/skia/SkiaSpanExtras.h:
(WebCore::span):
(WebCore::mutableSpan):
Canonical link: https://commits.webkit.org/321577@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications