Changeset 106697 in webkit
- Timestamp:
- Feb 3, 2012 2:52:10 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r106696 r106697 1 2012-02-03 Yong Li <yoli@rim.com> 2 3 [BlackBerry] Let userIdleTime() return maximum number instead of 0 as 4 most of other ports do. 5 https://bugs.webkit.org/show_bug.cgi?id=77769 6 7 Reviewed by Rob Buis. 8 9 userIdleTime() should return a big number so it won't block page cache 10 from releasing cached pages. See PageCache::releaseAutoreleasedPagesNowOrReschedule(). 11 12 No new tests as no visible functional changes. 13 14 * platform/blackberry/SystemTimeBlackBerry.cpp: 15 (WebCore::userIdleTime): 16 1 17 2012-02-03 Anders Carlsson <andersca@apple.com> 2 18 -
trunk/Source/WebCore/platform/blackberry/SystemTimeBlackBerry.cpp
r102588 r106697 22 22 23 23 #include "NotImplemented.h" 24 #include <limits> 24 25 25 26 namespace WebCore { … … 28 29 { 29 30 notImplemented(); 30 return 0; 31 // return an arbitrarily high userIdleTime so that releasing pages from the page cache isn't postponed. 32 return std::numeric_limits<float>::max(); 31 33 } 32 34
Note: See TracChangeset
for help on using the changeset viewer.