Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4793ef848586d4c7d12a8ab7b2e10f8b1eaf6eb1
      
https://github.com/WebKit/WebKit/commit/4793ef848586d4c7d12a8ab7b2e10f8b1eaf6eb1
  Author: Nikolas Zimmermann <[email protected]>
  Date:   2026-03-30 (Mon, 30 Mar 2026)

  Changed paths:
    M Source/ThirdParty/skia/CMakeLists.txt

  Log Message:
  -----------
  [Skia] Enable SKIA_DEBUG by default in Debug CMake builds
https://bugs.webkit.org/show_bug.cgi?id=311095

Reviewed by Adrian Perez de Castro.

SKIA_DEBUG controls the SK_DEBUG preprocessor define in Skia, which
activates SkASSERT/SkASSERTF assertions, SkDEBUGFAIL abort-on-error
paths, SkDEBUGCODE/SkDEBUGF debug logging, reference count validation,
and various internal consistency checks for correct API usage (e.g.
bounds checking in SkBitmap/SkPixmap pixel accessors, SkRect/SkIRect
construction validation, GPU resource key diagnostics, and path
measurement invariants).

Previously SKIA_DEBUG defaulted to OFF for all build types. Now it
defaults to ON for Debug builds, while remaining OFF for Release and
RelWithDebInfo. It can still be explicitly overridden via
-DSKIA_DEBUG=ON/OFF.

Covered by existing tests.

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



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

Reply via email to