diff options
author | wangxianzhu <wangxianzhu@chromium.org> | 2015-12-11 12:22:48 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-11 20:24:25 +0000 |
commit | c12347847f52a0338339b2b9cbf77ae15cc86943 (patch) | |
tree | 909f3f80e4ba321265db91b206f2608af7429025 /docs/script_preprocessor.md | |
parent | 45bcd750c1015e11c461828aa3c93f5b32d572eb (diff) | |
download | chromium_src-c12347847f52a0338339b2b9cbf77ae15cc86943.zip chromium_src-c12347847f52a0338339b2b9cbf77ae15cc86943.tar.gz chromium_src-c12347847f52a0338339b2b9cbf77ae15cc86943.tar.bz2 |
Don't always schedule visual update when setting paint invalidation
Only need to schedule visual update when the paint invalidation
needs to be processed in the next document cycle.
Previously in sync painting mode, we schedule visual update infinitely
when an out-of-viewport animated image is set PaintInvalidationDelayedFull
until the image becomes visible (PaintInvalidationDelayedFull upgraded
to PaintInvalidationFull).
BUG=568182,563496
TEST=FrameViewTest.SetPaintInvalidationDuringUpdateAllDocumentLifecycle
TEST=FrameViewTest.SetPaintInvalidationOutOfUpdateAllDocumentLifecycle
Review URL: https://codereview.chromium.org/1512353003
Cr-Commit-Position: refs/heads/master@{#364791}
Diffstat (limited to 'docs/script_preprocessor.md')
0 files changed, 0 insertions, 0 deletions