commit | 1fac40c94ca96fc8bac2b00aab7bddc0d3a7b851 | [log] [tgz] |
---|---|---|
author | Rune Lillesveen <rune@opera.com> | Fri Aug 18 16:31:46 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Aug 18 16:31:46 2017 |
tree | 56680be05f3dbaa944fa35d58601f3d07a2b8d11 | |
parent | 7273568734cc4ab4e1ac6a3097329531a5370eaa [diff] |
Let LayoutView::StyleWillChange handle viewport invalidation. Make sure we only do a single SetStyle for viewport ComputedStyle to which we propagate certain documentElement/body styles. That way we can do style invalidation diffing on SetStyle. The invalidation will now be done on LayoutView::StyleWillChange instead of invalidating LayoutView from LayoutBox::StyleWillChange for documentElement and body changes. The LayoutView invalidation does still use a limited repaint based on propagated background changes. Bug: 755539 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: I629098e0073827513801311b730c62fc98079db4 Reviewed-on: https://chromium-review.googlesource.com/609984 Commit-Queue: Rune Lillesveen <rune@opera.com> Reviewed-by: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#495573}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .