Bug 579276. Part 8: Bump scroll timeout up a lot. r=tnikkel

This commit is contained in:
Robert O'Callahan 2010-09-02 21:18:39 +12:00
Родитель cc302d0ddb
Коммит 975efbfe1e
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -1251,9 +1251,9 @@ IsSmoothScrollingEnabled()
class ScrollFrameActivityTracker : public nsExpirationTracker<nsGfxScrollFrameInner,4> {
public:
// Wait for 75-100ms between scrolls before we switch the appearance back to
// subpixel AA. That's 4 generations of 25ms each.
enum { TIMEOUT_MS = 25 };
// Wait for 3-4s between scrolls before we remove our layers.
// That's 4 generations of 1s each.
enum { TIMEOUT_MS = 1000 };
ScrollFrameActivityTracker()
: nsExpirationTracker<nsGfxScrollFrameInner,4>(TIMEOUT_MS) {}
~ScrollFrameActivityTracker() {