RESOLVED FIXED 219098
Use final in generated wrapper owner code
https://bugs.webkit.org/show_bug.cgi?id=219098
Summary Use final in generated wrapper owner code
Don Olmstead
Reported 2020-11-18 10:56:23 PST
Generated bindings should use override when appropriate.
Attachments
Patch (71.40 KB, patch)
2020-11-18 11:33 PST, Don Olmstead
ysuzuki: review+
Patch (84.24 KB, patch)
2020-11-19 09:45 PST, Don Olmstead
no flags
Patch (73.17 KB, patch)
2020-11-19 10:07 PST, Don Olmstead
no flags
Don Olmstead
Comment 1 2020-11-18 11:33:49 PST
Yusuke Suzuki
Comment 2 2020-11-18 15:42:26 PST
Comment on attachment 414463 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=414463&action=review r=me with one suggestion. > Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:3230 > push(@headerContent, "public:\n"); How about making `class ${exportMacro}JS${interfaceName}Owner` final too? I don't think anyone is inheriting this class.
Don Olmstead
Comment 3 2020-11-19 08:42:51 PST
(In reply to Yusuke Suzuki from comment #2) > Comment on attachment 414463 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=414463&action=review > > r=me with one suggestion. > > > Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:3230 > > push(@headerContent, "public:\n"); > > How about making `class ${exportMacro}JS${interfaceName}Owner` final too? I > don't think anyone is inheriting this class. I'm going to split this patch into two parts since there was a bit more surgery required to accommodate this change.
Don Olmstead
Comment 4 2020-11-19 09:45:19 PST Comment hidden (obsolete)
Don Olmstead
Comment 5 2020-11-19 10:07:00 PST
EWS
Comment 6 2020-11-19 12:01:06 PST
Committed r270042: <https://trac.webkit.org/changeset/270042> All reviewed patches have been landed. Closing bug and clearing flags on attachment 414598 [details].
Radar WebKit Bug Importer
Comment 7 2020-11-19 12:02:18 PST
Note You need to log in before you can comment on or make changes to this bug.