RESOLVED FIXED 238876
Drop unnecessary ExceptionOr<> return types
https://bugs.webkit.org/show_bug.cgi?id=238876
Summary Drop unnecessary ExceptionOr<> return types
Chris Dumez
Reported 2022-04-06 10:36:05 PDT
Drop unnecessary ExceptionOr<> return types as they may cause unnecessary branching at runtime.
Attachments
Patch (13.73 KB, patch)
2022-04-06 10:37 PDT, Chris Dumez
no flags
Patch (14.19 KB, patch)
2022-04-06 12:02 PDT, Chris Dumez
ews-feeder: commit-queue-
Chris Dumez
Comment 1 2022-04-06 10:37:19 PDT
Alex Christensen
Comment 2 2022-04-06 11:53:06 PDT
Comment on attachment 456832 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=456832&action=review > Source/WebCore/html/CustomPaintCanvas.cpp:59 > return { RefPtr<PaintRenderingContext2D> { &downcast<PaintRenderingContext2D>(*m_context) } }; This can be cleaned up too
Chris Dumez
Comment 3 2022-04-06 12:02:44 PDT
EWS
Comment 4 2022-04-06 14:30:13 PDT
Committed r292506 (249349@main): <https://commits.webkit.org/249349@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 456845 [details].
Radar WebKit Bug Importer
Comment 5 2022-04-06 14:31:16 PDT
Carlos Garcia Campos
Comment 6 2022-04-07 03:58:46 PDT
This broke the GTK build, as the EWS caught. Fixed in r292529.
Chris Dumez
Comment 7 2022-04-07 07:21:48 PDT
(In reply to Carlos Garcia Campos from comment #6) > This broke the GTK build, as the EWS caught. Fixed in r292529. Thanks for fixing. I guess gtk-ews was slow at the time.
Note You need to log in before you can comment on or make changes to this bug.