Commit 25a9e86
webnn: Discard data when canceling a BYOB read
If the buffer is detached the read is cancelled however the data in the
shared Mojo data pipe used for reads still need to be handled or else a
later read will get this data instead.
Fixed: 511826204
Change-Id: I82f10690d741c8b9b34419c3ac3d0e85511fd594
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7858250
Reviewed-by: Hu, Ningxin <ningxin.hu@intel.com>
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Auto-Submit: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1633293}1 parent 6d2fe0c commit 25a9e86
1 file changed
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
0 commit comments