Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a6bf9f89d0b3550b241e656cea0009c79d03f63e
      
https://github.com/WebKit/WebKit/commit/a6bf9f89d0b3550b241e656cea0009c79d03f63e
  Author: Adrian Perez de Castro <[email protected]>
  Date:   2026-03-30 (Mon, 30 Mar 2026)

  Changed paths:
    M Source/WebKit/UIProcess/gtk/GtkUtilities.cpp
    M Tools/WebKitTestRunner/skia/TestInvocationSkia.cpp

  Log Message:
  -----------
  [Skia] Ensure correct SkPixmap::[writable_]addr*() methods are used for image 
data access
https://bugs.webkit.org/show_bug.cgi?id=283351

Reviewed by Nikolas Zimmermann.

Prefer SkPixmap::[writable_]addr() over the counterparts with a numeric
suffix indicating the bits-per-pixel expected of the underlying image
data. This allows handling data with different pixel formats using the
same code paths without triggering Skia assertions in debug builds.

* Source/WebKit/UIProcess/gtk/GtkUtilities.cpp:
(WebKit::skiaImageToCairoSurface):
* Tools/WebKitTestRunner/skia/TestInvocationSkia.cpp:
(WTR::computeSHA1HashStringForPixmap):

Canonical link: https://commits.webkit.org/310261@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to