WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 252827
[GLib] Ensure no final classes have public class structs
https://bugs.webkit.org/show_bug.cgi?id=252827
Summary
[GLib] Ensure no final classes have public class structs
Michael Catanzaro
Reported
2023-02-23 07:33:29 PST
In
bug #243663
Adrian hid the class structs of most final classes. However, a few classes still do have public class structs because they have vtables. The vtables are now useless because the classes are not derivable, so they need to be hidden. This was not done in
bug #243663
because it requires a little additional work to avoid breaking the original API version.
Attachments
Add attachment
proposed patch, testcase, etc.
Michael Catanzaro
Comment 1
2023-02-23 07:53:07 PST
Affected classes are WebKitDownload, WebKitWebContext, and WebKitWebHitTestResult
Michael Catanzaro
Comment 2
2023-02-27 12:25:33 PST
Emmanuele says we should use g_signal_override_class_handler() rather than the g_signal_connect_after() that I had been planning to use. I'm planning to handle WebKitDownload in
bug #238748
and the other two classes here.
Michael Catanzaro
Comment 3
2023-03-01 06:52:28 PST
(In reply to Michael Catanzaro from
comment #1
)
> Affected classes are WebKitDownload, WebKitWebContext, and > WebKitWebHitTestResult
Actually, Adrian already handled WebKitWebHitTestResult. And we decided not to handle WebKitDownload in
bug #238748
after all. So here I'll handle WebKitDownload and WebKitWebContext.
Michael Catanzaro
Comment 4
2023-03-01 07:18:14 PST
Pull request:
https://github.com/WebKit/WebKit/pull/10865
EWS
Comment 5
2023-03-01 08:29:41 PST
Committed
261011@main
(5e3c2e27ef61): <
https://commits.webkit.org/261011@main
> Reviewed commits have been landed. Closing PR #10865 and removing active labels.
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