[webkit-changes] [WebKit/WebKit] 9b934e: [GLib] Fix build on non-Linux platforms

Samuel Thibault noreply at github.com
Sun Jan 12 10:29:25 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9b934ef4bb1784c8133119eb69ce697c4a48118a
      https://github.com/WebKit/WebKit/commit/9b934ef4bb1784c8133119eb69ce697c4a48118a
  Author: Samuel Thibault <samuel.thibault at ens-lyon.org>
  Date:   2025-01-12 (Sun, 12 Jan 2025)

  Changed paths:
    M Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp

  Log Message:
  -----------
  [GLib] Fix build on non-Linux platforms
https://bugs.webkit.org/show_bug.cgi?id=285806

Reviewed by Michael Catanzaro.

On non-Linux platforms, #include <bmalloc/valgrind.h> is not performed,
and thus the RUNNING_ON_VALGRIND macro is not available. This makes the
code check for RUNNING_ON_VALGRIND before using it (and not
duplicate the condition for including <bmalloc/valgrind.h>)

* Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp:
(WebKit::WebProcessPool::setSandboxEnabled):

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