Commit 08b83ee
committed
src: refactor setting JS properties on WriteWrap
`async` and `bytes` are only interesting when the write
is coming from JS, and unnecessary otherwise.
Also, make all of the stream `Write*()` bindings use the same
code for setting these, and upgrade to the non-deprecated versions.
PR-URL: #18963
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>1 parent 8d595bb commit 08b83eeCopy full SHA for 08b83ee
File tree
Expand file treeCollapse file tree
2 files changed
+18
-10
lines changedOpen diff view settings
Filter options
- src
Expand file treeCollapse file tree
2 files changed
+18
-10
lines changedOpen diff view settings
Collapse file
-2Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
220 | 220 | |
221 | 221 | |
222 | 222 | |
223 | | - |
224 | | - |
225 | 223 | |
226 | 224 | |
227 | 225 | |
|
Collapse file
+18-8Lines changed: 18 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
14 | 14 | |
15 | 15 | |
16 | 16 | |
| 17 | + |
17 | 18 | |
18 | 19 | |
19 | 20 | |
| ||
56 | 57 | |
57 | 58 | |
58 | 59 | |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
59 | 74 | |
60 | 75 | |
61 | 76 | |
| ||
150 | 165 | |
151 | 166 | |
152 | 167 | |
153 | | - |
| 168 | + |
154 | 169 | |
155 | 170 | |
156 | 171 | |
| ||
178 | 193 | |
179 | 194 | |
180 | 195 | |
181 | | - |
182 | | - |
183 | | - |
| 196 | + |
184 | 197 | |
185 | 198 | |
186 | 199 | |
| ||
286 | 299 | |
287 | 300 | |
288 | 301 | |
289 | | - |
290 | | - |
291 | | - |
292 | | - |
| 302 | + |
293 | 303 | |
294 | 304 | |
295 | 305 | |
|
0 commit comments