Commit 29c63f1
Fady Samuel
RELAND Surface synchronization: Don't evict surface on DelegatedFrameHost::WasResized
If we evict a surface before the previous CompositorFrame activates with it
as a fallback, then we will attempt to add an invalid reference and we may
end up with missing surfaces in surface aggregator. This CL combats the issue
by avoiding evicting frames during resize.
We will still only update the primary surface ID if the tab is not hidden,
and we will clear the fallback surface ID if the tab is hidden.
[email protected]
(cherry picked from commit eb8dd47)
Bug: 813157, 672962
TBR: [email protected]
Change-Id: I9f35ef24597f0bc88e139b23a2994e8b32abbc70
Reviewed-on: https://chromium-review.googlesource.com/938678
Reviewed-by: Saman Sami <[email protected]>
Commit-Queue: Fady Samuel <[email protected]>
Cr-Original-Original-Commit-Position: refs/heads/master@{#539639}
Reviewed-on: https://chromium-review.googlesource.com/943725
Reviewed-by: Fady Samuel <[email protected]>
Cr-Original-Commit-Position: refs/heads/master@{#540333}
Reviewed-on: https://chromium-review.googlesource.com/953126
Cr-Commit-Position: refs/branch-heads/3359@{#61}
Cr-Branched-From: 66afc5e-refs/heads/master@{#540276}1 parent 7edb197 commit 29c63f1
1 file changed
+27
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
280 | 283 | | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
288 | 296 | | |
| 297 | + | |
289 | 298 | | |
290 | 299 | | |
291 | 300 | | |
| |||
547 | 556 | | |
548 | 557 | | |
549 | 558 | | |
550 | | - | |
| 559 | + | |
551 | 560 | | |
552 | 561 | | |
553 | | - | |
554 | | - | |
| 562 | + | |
555 | 563 | | |
556 | 564 | | |
557 | 565 | | |
558 | 566 | | |
559 | | - | |
560 | | - | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
561 | 571 | | |
562 | 572 | | |
563 | 573 | | |
| |||
0 commit comments