Changeset 50173 in webkit for trunk/JavaScriptCore
- Timestamp:
- Oct 27, 2009, 2:51:23 PM (16 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r50143 r50173 1 2009-10-27 James Robinson <[email protected]> 2 3 Reviewed by Darin Fisher. 4 5 Ensures that JavaScriptCore/wtf/CurrentTime.cpp is not built in PLATFORM(CHROMIUM) builds. 6 7 Chromium uses a different method to calculate the current time than is used in 8 JavaScriptCore/wtf/CurrentTime.cpp. This can lead to time skew when calls to currentTime() and Chromium's time 9 function are mixed. In particular, timers can get scheduled in the past which leads to 100% CPU use. 10 See http://code.google.com/p/chromium/issues/detail?id=25892 for an example. 11 12 https://bugs.webkit.org/show_bug.cgi?id=30833 13 14 * JavaScriptCore.gyp/JavaScriptCore.gyp: 15 * wtf/CurrentTime.cpp: 16 1 17 2009-10-27 Peter Varga <[email protected]> 2 18 -
trunk/JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp
r48827 r50173 122 122 ['exclude', '/(GOwnPtr|glib/.*)\\.(cpp|h)$'], 123 123 ['exclude', '(Default|Gtk|Mac|None|Qt|Win|Wx)\\.(cpp|mm)$'], 124 ['exclude', 'wtf/CurrentTime\\.cpp$'], 124 125 ], 125 126 'direct_dependent_settings': { -
trunk/JavaScriptCore/wtf/CurrentTime.cpp
r46660 r50173 64 64 #endif 65 65 66 #if PLATFORM(CHROMIUM) 67 #error Chromium uses a different timer implementation 68 #endif 69 66 70 namespace WTF { 67 71
Note:
See TracChangeset
for help on using the changeset viewer.