Changeset 44509 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Jun 8, 2009, 4:01:48 PM (16 years ago)
Author:
Dimitri Glazkov
Message:

2009-06-08 Dimitri Glazkov <Dimitri Glazkov>

Unreviewed, Windows build fix.

  • runtime/DateConstructor.cpp: Changed to use WTF namespace.
  • runtime/DateConversion.cpp: Added UString include.
  • runtime/DateInstance.cpp: Changed to use WTF namespace.
  • wtf/DateMath.cpp: Added math include.
Location:
trunk/JavaScriptCore
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r44508 r44509  
     12009-06-08  Dimitri Glazkov  <[email protected]>
     2
     3        Unreviewed, Windows build fix.
     4
     5        * runtime/DateConstructor.cpp: Changed to use WTF namespace.
     6        * runtime/DateConversion.cpp: Added UString include.
     7        * runtime/DateInstance.cpp: Changed to use WTF namespace.
     8        * wtf/DateMath.cpp: Added math include.
     9
    1102009-06-08  Dimitri Glazkov  <[email protected]>
    211
  • trunk/JavaScriptCore/runtime/DateConstructor.cpp

    r44508 r44509  
    4444#endif
    4545
    46 using WTF::GregorianDateTime;
     46using namespace WTF;
    4747
    4848namespace JSC {
  • trunk/JavaScriptCore/runtime/DateConversion.cpp

    r44508 r44509  
    4444#include "DateConversion.h"
    4545
     46#include "UString.h"
    4647#include <wtf/DateMath.h>
    4748
  • trunk/JavaScriptCore/runtime/DateInstance.cpp

    r44508 r44509  
    2626#include <wtf/DateMath.h>
    2727#include <wtf/MathExtras.h>
     28
     29using namespace WTF;
    2830
    2931namespace JSC {
     
    5961    if (outputIsUTC) {
    6062        if (m_cache->m_gregorianDateTimeUTCCachedForMS != milli) {
    61             WTF::msToGregorianDateTime(milli, true, m_cache->m_cachedGregorianDateTimeUTC);
     63            msToGregorianDateTime(milli, true, m_cache->m_cachedGregorianDateTimeUTC);
    6264            m_cache->m_gregorianDateTimeUTCCachedForMS = milli;
    6365        }
     
    6567    } else {
    6668        if (m_cache->m_gregorianDateTimeCachedForMS != milli) {
    67             WTF::msToGregorianDateTime(milli, false, m_cache->m_cachedGregorianDateTime);
     69            msToGregorianDateTime(milli, false, m_cache->m_cachedGregorianDateTime);
    6870            m_cache->m_gregorianDateTimeCachedForMS = milli;
    6971        }
  • trunk/JavaScriptCore/wtf/DateMath.cpp

    r44508 r44509  
    5151
    5252#include <limits>
     53#include <math.h>
    5354#include <stdint.h>
    5455#include <time.h>
Note: See TracChangeset for help on using the changeset viewer.