Changeset 39917 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Jan 14, 2009, 3:40:56 PM (16 years ago)
Author:
[email protected]
Message:

Build fix for Qt from Dmitry Titov.

Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r39910 r39917  
     12009-01-14  Adam Treat  <[email protected]>
     2
     3        Build fix for Qt from Dmitry Titov.
     4
     5        * wtf/ThreadingQt.cpp:
     6        (WTF::ThreadCondition::timedWait):
     7
    182009-01-14  Oliver Hunt  <[email protected]>
    29
  • trunk/JavaScriptCore/wtf/ThreadingQt.cpp

    r39908 r39917  
    245245    double intervalMilliseconds = (absoluteTime - currentTime) * 1000.0;
    246246    // Qt defines wait for up to ULONG_MAX milliseconds.
    247     if (interval >= ULONG_MAX)
    248         interval = ULONG_MAX;
    249 
    250     return m_condition->wait(mutex.impl(), static_cast<unsigned long>(interval));
     247    if (intervalMilliseconds >= ULONG_MAX)
     248        intervalMilliseconds = ULONG_MAX;
     249
     250    return m_condition->wait(mutex.impl(), static_cast<unsigned long>(intervalMilliseconds));
    251251}
    252252
Note: See TracChangeset for help on using the changeset viewer.