aboutsummaryrefslogtreecommitdiff
path: root/src/prefs.h
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-05 14:43:11 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-05 14:43:11 +0100
commitaa70b2f628549b2426693572baf96fc71341c404 (patch)
tree541faf8eebe02ee5fd72052d8e8c2b5e4ca9333e /src/prefs.h
parentc6dac9cfdfb1b193c0680834fdfebfdb96edcb23 (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