diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-03-05 14:43:11 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-03-05 14:43:11 +0100 |
commit | aa70b2f628549b2426693572baf96fc71341c404 (patch) | |
tree | 541faf8eebe02ee5fd72052d8e8c2b5e4ca9333e /src/prefs.h | |
parent | c6dac9cfdfb1b193c0680834fdfebfdb96edcb23 (diff) |
reduce number of styleEngine::style0() calls
Rearrange code, so that for each new element, StyleEngine::setNonCssHints()
is called before the first call to StyleEngine::style() or
StyleEngine::wordStyle().
This avoids unnecessary CSS style computations which are expensive.
Add an assertion to ensure this.
Diffstat (limited to 'src/prefs.h')
0 files changed, 0 insertions, 0 deletions