Revision 921312

Go back to digest for 8th February 2009

Optimization in KDE Base

Germain Garand committed changes in /trunk/KDE/kdelibs/khtml/khtmlview.cpp:

prevent smooth scrolling from taking too much time when resources are scarce.

we monitor the smooth scrolling time, and stop decelerating if it happens to be too far behind schedule.

that way the total scrolling time shouldn't exceed ~twice the default scrolling time (2*140ms) in the worst situation.

File Changes

Modified 1 files
  • /trunk/KDE/kdelibs/khtml/khtmlview.cpp
1 files changed in total