Changeset 209462 in webkit
- Timestamp:
- Dec 7, 2016, 10:39:44 AM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r209460 r209462 1 2016-12-06 Geoffrey Garen <ggaren@apple.com> 2 3 performance.now() should truncate to 100us 4 https://bugs.webkit.org/show_bug.cgi?id=165503 5 <rdar://problem/29544531> 6 7 Reviewed by Mark Lam. 8 9 * page/Performance.cpp: 10 (WebCore::Performance::reduceTimeResolution): 11 1 12 2016-12-07 Dave Hyatt <hyatt@apple.com> 2 13 -
trunk/Source/WebCore/page/Performance.cpp
r207522 r209462 215 215 double Performance::reduceTimeResolution(double seconds) 216 216 { 217 const double resolutionSeconds = 0.000 005;217 const double resolutionSeconds = 0.0001; 218 218 return std::floor(seconds / resolutionSeconds) * resolutionSeconds; 219 219 }
Note:
See TracChangeset
for help on using the changeset viewer.