WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
296688
Wrong member access due to DECLARE_VISIT_CHILDREN macro
https://bugs.webkit.org/show_bug.cgi?id=296688
Summary
Wrong member access due to DECLARE_VISIT_CHILDREN macro
Johann Klähn
Reported
2025-07-30 03:10:38 PDT
The definition of the 'DECLARE_VISIT_CHILDREN' macro contains declarations with different access specifiers. Since it ends with the 'public' access specifier, it should only be used within the public section of the surrounding class. Otherwise, it will inadvertently change members declared after the use of the macro to be public.
Attachments
Add attachment
proposed patch, testcase, etc.
Johann Klähn
Comment 1
2025-07-30 03:16:23 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/48712
EWS
Comment 2
2025-07-30 21:08:40 PDT
Committed
298066@main
(b0498801e751): <
https://commits.webkit.org/298066@main
> Reviewed commits have been landed. Closing PR #48712 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-07-30 21:09:15 PDT
<
rdar://problem/157176534
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug