Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3248c16422b3fd604404cfbf0f3e42e4152336a6
https://github.com/WebKit/WebKit/commit/3248c16422b3fd604404cfbf0f3e42e4152336a6
Author: Yijia Huang <[email protected]>
Date: 2025-06-12 (Thu, 12 Jun 2025)
Changed paths:
M Source/WebCore/Headers.cmake
M Source/WebCore/loader/archive/ArchiveResourceCollection.h
M Source/WebCore/loader/cache/CachedSVGDocumentReference.h
Log Message:
-----------
Fix build with ENABLE_MALLOC_HEAP_BREAKDOWN enabled by ensuring LoaderMalloc
is visible
https://bugs.webkit.org/show_bug.cgi?id=294395
rdar://153204638
Reviewed by Yusuke Suzuki and Ryan Reno.
When ENABLE_MALLOC_HEAP_BREAKDOWN is enabled,
WTF_MAKE_FAST_ALLOCATED_WITH_HEAP_IDENTIFIER(Loader)
requires LoaderMalloc to be visible in the translation unit.
This patch adds explicit #include "LoaderMalloc.h" to
ArchiveResourceCollection.h and
CachedSVGDocumentReference.h to ensure LoaderMalloc is defined before use.
Without this,
unified builds fail due to use of undeclared identifier 'LoaderMalloc'.
Also updates Headers.cmake to expose ArchiveResourceCollection.h and
CachedSVGDocumentReference.h
in the WebCore private headers list. No behavior change; this is a build fix
only.
* Source/WebCore/Headers.cmake:
* Source/WebCore/loader/archive/ArchiveResourceCollection.h:
* Source/WebCore/loader/cache/CachedSVGDocumentReference.h:
Canonical link: https://commits.webkit.org/296154@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes