Changeset 148641 in webkit
- Timestamp:
- Apr 17, 2013 3:57:33 PM (11 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r148639 r148641 1 2013-04-17 Mark Lam <mark.lam@apple.com> 2 3 Fix broken build. Replaced a static const with a #define. 4 https://bugs.webkit.org/show_bug.cgi?id=114577. 5 6 Unreviewed. 7 8 * runtime/Watchdog.cpp: 9 (JSC::Watchdog::Watchdog): 10 (JSC::Watchdog::isEnabled): 11 1 12 2013-04-17 Mark Lam <mark.lam@apple.com> 2 13 -
trunk/Source/JavaScriptCore/runtime/Watchdog.cpp
r148639 r148641 33 33 namespace JSC { 34 34 35 static const double noLimit = std::numeric_limits<double>::infinity(); 35 #define NO_LIMIT std::numeric_limits<double>::infinity() 36 36 37 37 Watchdog::Watchdog() 38 38 : m_timerDidFire(false) 39 39 , m_didFire(false) 40 , m_limit( noLimit)40 , m_limit(NO_LIMIT) 41 41 , m_startTime(0) 42 42 , m_elapsedTime(0) … … 136 136 bool Watchdog::isEnabled() 137 137 { 138 return (m_limit != noLimit);138 return (m_limit != NO_LIMIT); 139 139 } 140 140
Note: See TracChangeset
for help on using the changeset viewer.