Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bdfef46eb471404fa96590ae8cd5172d22afe3ef
      
https://github.com/WebKit/WebKit/commit/bdfef46eb471404fa96590ae8cd5172d22afe3ef
  Author: Michael Catanzaro <[email protected]>
  Date:   2023-06-06 (Tue, 06 Jun 2023)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/WTF/StdLibExtrasTests.cpp

  Log Message:
  -----------
  Adjust preprocessor guards for bmalloc test in StdLibExtrasTests.cpp
https://bugs.webkit.org/show_bug.cgi?id=257452

Unreviewed build fix.

This code has nothing to do with cairo. We instead need to check whether
bmalloc is built -- !USE(SYSTEM_MALLOC) -- before trying to use bmalloc.
This fixes the build on Linux JSCOnly with system malloc. GTK and WPE
were fine because they use Cairo and therefore this test was
unnecessarily disabled there.

* Tools/TestWebKitAPI/Tests/WTF/StdLibExtrasTests.cpp:
(TestWebKitAPI::TEST):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to