commit | dba3b6817d37e512d4722aa642353b7d48db1a7d | [log] [tgz] |
---|---|---|
author | rune <rune@opera.com> | Fri Mar 18 07:56:38 2016 |
committer | Commit bot <commit-bot@chromium.org> | Fri Mar 18 07:58:20 2016 |
tree | 7182a81ae02b7698dac27e01c4268fb57eeed0ca | |
parent | 018a4e46c477ada7307ed5c7dad7eb58b7da75b5 [diff] |
Dirty tree scopes are always a subset of active tree scopes. No need to walk dirty tree scopes when clearing media dependent rule sets after walking the active tree scopes. Also clear m_dirtyTreeScopes in StyleEngine::detachFromDocument. Currently, m_dirtyTreeScopes are synchronously updated and cleared right after they are marked dirty, but that is supposed to change. BUG=567021 Review URL: https://codereview.chromium.org/1786663003 Cr-Commit-Position: refs/heads/master@{#381909}