Commit 28edc1d
events: use Reflect.apply
Instead of callback bound apply, instead use the standard
Reflect.apply. This is both safer and appears to offer
a slight performance benefit.
Backport-PR-URL: #18487
PR-URL: #17456
Refs: #12956
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>1 parent 3ae5cf2 commit 28edc1dCopy full SHA for 28edc1d
Expand file treeCollapse file tree
2 files changed
+5
-5
lines changedOpen diff view settings
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
400 | 400 | |
401 | 401 | |
402 | 402 | |
403 | | - |
| 403 | + |
404 | 404 | |
405 | 405 | |
406 | 406 | |
| ||
415 | 415 | |
416 | 416 | |
417 | 417 | |
418 | | - |
| 418 | + |
419 | 419 | |
420 | 420 | |
421 | 421 | |
|
Collapse file
+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
124 | 124 | |
125 | 125 | |
126 | 126 | |
127 | | - |
| 127 | + |
128 | 128 | |
129 | 129 | |
130 | 130 | |
131 | 131 | |
132 | | - |
| 132 | + |
133 | 133 | |
134 | 134 | |
135 | 135 | |
| ||
216 | 216 | |
217 | 217 | |
218 | 218 | |
219 | | - |
| 219 | + |
220 | 220 | |
221 | 221 | |
222 | 222 | |
|
0 commit comments