diff options
Diffstat (limited to 'Source/WebCore/platform/wx/SystemTimeWx.cpp')
-rw-r--r-- | Source/WebCore/platform/wx/SystemTimeWx.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Source/WebCore/platform/wx/SystemTimeWx.cpp b/Source/WebCore/platform/wx/SystemTimeWx.cpp index f607cba..668ec00 100644 --- a/Source/WebCore/platform/wx/SystemTimeWx.cpp +++ b/Source/WebCore/platform/wx/SystemTimeWx.cpp @@ -26,18 +26,16 @@ #include "config.h" #include "SystemTime.h" -#include <float.h> - #include "NotImplemented.h" +#include <limits> namespace WebCore { float userIdleTime() { notImplemented(); - // return an arbitrarily high userIdleTime so that releasing pages from the page cache isn't postponed - return FLT_MAX; -} - + // Return an arbitrarily high userIdleTime so that releasing pages from the page cache isn't postponed. + return std::numeric_limits<float>::max(); } +} // namespace WebCore |