[webkit-changes] [WebKit/WebKit] bdfef4: Adjust preprocessor guards for bmalloc test in Std...
Michael Catanzaro
noreply at github.com
Tue Jun 6 09:36:29 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: bdfef46eb471404fa96590ae8cd5172d22afe3ef
https://github.com/WebKit/WebKit/commit/bdfef46eb471404fa96590ae8cd5172d22afe3ef
Author: Michael Catanzaro <mcatanzaro at redhat.com>
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
More information about the webkit-changes
mailing list