2009-10-27  James Robinson  <jamesr@chromium.org>

        Reviewed by Darin Fisher.

        Ensures that JavaScriptCore/wtf/CurrentTime.cpp is not built in PLATFORM(CHROMIUM) builds.

        Chromium uses a different method to calculate the current time than is used in
        JavaScriptCore/wtf/CurrentTime.cpp. This can lead to time skew when calls to currentTime() and Chromium's time
        function are mixed.  In particular, timers can get scheduled in the past which leads to 100% CPU use.
        See http://code.google.com/p/chromium/issues/detail?id=25892 for an example.

        https://bugs.webkit.org/show_bug.cgi?id=30833

        * JavaScriptCore.gyp/JavaScriptCore.gyp:
        * wtf/CurrentTime.cpp:



git-svn-id: svn://svn.chromium.org/blink/trunk@50173 bbb929c8-8fbe-4397-9dbb-9b2b20218538
static double currentSystemTime()
{
    FILETIME ft;
    GetCurrentFT(&ft);


    ULARGE_INTEGER t;
    memcpy(&t, &ft, sizeof(t));



    return t.QuadPart * 0.0000001 - 11644473600.0;
}

static double currentSystemTime()
{
    FILETIME ft;
    GetCurrentFT(&ft);


    ULARGE_INTEGER t;
    memcpy(&t, &ft, sizeof(t));



    return t.QuadPart * 0.0000001 - 11644473600.0;
}
