Bug 251474

Summary: Refactor JSDOMWrapper.h to not include JSDOMGlobalObject.h
Product: WebKit Reporter: Dan Glastonbury <djg>
Component: DOMAssignee: Dan Glastonbury <djg>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Description Dan Glastonbury 2023-01-31 17:51:00 PST
Profiling of compilation show that JSDOMGlobalObject.h is the most expensive
header when building WebCore, contributing over 6 minutes across all compilation
units. Moving the implementation of functions from JSDOMWrapper.h to .cpp files
would allow using a forward declaration instead of including an expensive header.
Comment 1 Radar WebKit Bug Importer 2023-01-31 17:51:34 PST
<rdar://problem/104894173>
Comment 2 Dan Glastonbury 2023-01-31 18:00:19 PST
Pull request: https://github.com/WebKit/WebKit/pull/9423