Commit 58681ed
[source-map] Support 'undefined' root OriginalScopes
With the proposed extension API in https://crrev.com/c/5774044, we may
have OriginalScope trees for only some of the original source files in
a source map.
This CL prepares the 'SourceMapScopesInfo' class for that and adds the
necessary 'undefined' checks where needed.
[email protected]
Bug: 389857436
Change-Id: I8435618ef450cbe81eca5973b02a7779a2d6dc69
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6185434
Commit-Queue: Simon Zünd <[email protected]>
Auto-Submit: Simon Zünd <[email protected]>
Reviewed-by: Kim-Anh Tran <[email protected]>1 parent d006340 commit 58681ed
1 file changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
135 | 139 | | |
136 | 140 | | |
137 | 141 | | |
| |||
274 | 278 | | |
275 | 279 | | |
276 | 280 | | |
277 | | - | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
278 | 285 | | |
| 286 | + | |
279 | 287 | | |
280 | 288 | | |
281 | 289 | | |
| |||
284 | 292 | | |
285 | 293 | | |
286 | 294 | | |
287 | | - | |
| 295 | + | |
288 | 296 | | |
289 | 297 | | |
290 | 298 | | |
| |||
0 commit comments