Commit 6771ba5
committed
[IO] Return correct non-empty value in slow path with effects.
Previously, we always returned true for "is mapped rect non-
empty?" from LocalToAncestorVisualRect in the presence of
effect nodes which may move pixels.
Now return true only if the actual computed rect is non-empty.
Bug:910741
TBR=chrishtr@chromium.org
(cherry picked from commit 5aeac68)
Change-Id: I41935060706b887f58ed14a179d8975bee02c39f
Reviewed-on: https://chromium-review.googlesource.com/c/1359692
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#613625}
Reviewed-on: https://chromium-review.googlesource.com/c/1363954
Cr-Commit-Position: refs/branch-heads/3626@{#85}
Cr-Branched-From: d897fb1-refs/heads/master@{#612437}1 parent dc6efc1 commit 6771ba5
File tree
2 files changed
+16
-1
lines changed- third_party/blink/renderer/platform/graphics/paint
2 files changed
+16
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
| 290 | + | |
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| |||
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
397 | 412 | | |
398 | 413 | | |
399 | 414 | | |
| |||
0 commit comments