Commit d09625d
[RPP] Correctly map profile data to original sources
The original code was now using the resolved UILocation's line/col in
the profile data, instead always using the raw location no matter if the
resolved UISourceCode was mapped via source maps.
Now the UILocation line/col is used. Additionally, we continue to
provide profile data for the generated file, as it's expected users may
switch between the two views of the same script when getting deep into
performance issues.
Bug: 462212096
Change-Id: I8e7ee303020f7ba28e78434c679229ec75872749
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/7173541
Auto-Submit: Connor Clark <cjamcl@chromium.org>
Commit-Queue: Connor Clark <cjamcl@chromium.org>
Reviewed-by: Paul Irish <paulirish@chromium.org>1 parent 0fdc7b9 commit d09625d
1 file changed
Lines changed: 32 additions & 11 deletions
Lines changed: 32 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
244 | 248 | | |
245 | | - | |
246 | 249 | | |
247 | 250 | | |
248 | 251 | | |
| |||
267 | 270 | | |
268 | 271 | | |
269 | 272 | | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
270 | 291 | | |
0 commit comments