RESOLVED FIXED 218028
Simplify ScriptExecutionContext::vm()
https://bugs.webkit.org/show_bug.cgi?id=218028
Summary Simplify ScriptExecutionContext::vm()
Chris Dumez
Reported 2020-10-21 08:50:59 PDT
Simplify ScriptExecutionContext::vm().
Attachments
Patch (1.45 KB, patch)
2020-10-21 08:51 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2020-10-21 08:51:39 PDT
EWS
Comment 2 2020-10-21 09:40:50 PDT
Committed r268801: <https://trac.webkit.org/changeset/268801> All reviewed patches have been landed. Closing bug and clearing flags on attachment 411992 [details].
Radar WebKit Bug Importer
Comment 3 2020-10-21 09:41:20 PDT
Sam Weinig
Comment 4 2020-10-21 15:24:43 PDT
Comment on attachment 411992 [details] Patch I feel like this would be even better as a pure-virtual function that the subclasses would implement. That would avoid one virtual function call in the worker/worklet case as well.
Chris Dumez
Comment 5 2020-10-21 15:27:29 PDT
(In reply to Sam Weinig from comment #4) > Comment on attachment 411992 [details] > Patch > > I feel like this would be even better as a pure-virtual function that the > subclasses would implement. That would avoid one virtual function call in > the worker/worklet case as well. Good idea. I will look into this shortly.
Sam Weinig
Comment 6 2020-10-21 15:33:38 PDT
(In reply to Chris Dumez from comment #5) > (In reply to Sam Weinig from comment #4) > > Comment on attachment 411992 [details] > > Patch > > > > I feel like this would be even better as a pure-virtual function that the > > subclasses would implement. That would avoid one virtual function call in > > the worker/worklet case as well. > > Good idea. I will look into this shortly. 👍
Chris Dumez
Comment 7 2020-10-21 16:10:32 PDT
(In reply to Sam Weinig from comment #6) > (In reply to Chris Dumez from comment #5) > > (In reply to Sam Weinig from comment #4) > > > Comment on attachment 411992 [details] > > > Patch > > > > > > I feel like this would be even better as a pure-virtual function that the > > > subclasses would implement. That would avoid one virtual function call in > > > the worker/worklet case as well. > > > > Good idea. I will look into this shortly. > > 👍 https://bugs.webkit.org/show_bug.cgi?id=218057
Note You need to log in before you can comment on or make changes to this bug.