2008-07-30 Alice Liu <alice.liu@apple.com>
commitd84038d0fed6b6b5dc43a162cbc92f038663fdb8
authoralice.liu@apple.com <alice.liu@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 Jul 2008 00:33:14 +0000 (31 00:33 +0000)
committeralice.liu@apple.com <alice.liu@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 Jul 2008 00:33:14 +0000 (31 00:33 +0000)
treeb128df79871cff5034c9bdd5192bb3f86c76f0c0
parent9f2e8390258e0986bdb2d8cfea6f0ad4813d8155
2008-07-30  Alice Liu  <alice.liu@apple.com>

        Implement userIdleTime() for Windows, and place a band-aid over other
        platform implementations of userIdleTime().  This will fix the issue
        of indefinitely postposing releasing pages from the PageCache
        on non-Mac platforms, causing us to hang onto just about everything
        else about a web page.

        Reviewed by Sam Weinig.

        * platform/gtk/TemporaryLinkStubs.cpp:
        * platform/wx/TemporaryLinkStubs.cpp:
        * platform/qt/TemporaryLinkStubs.cpp:
        (WebCore::userIdleTime): set to FLT_MAX

        * platform/win/SystemTimeWin.cpp:
        (WebCore::userIdleTime): implemented

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35469 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/gtk/TemporaryLinkStubs.cpp
WebCore/platform/qt/TemporaryLinkStubs.cpp
WebCore/platform/win/SystemTimeWin.cpp
WebCore/platform/wx/TemporaryLinkStubs.cpp