Title: [251694] trunk/Source/WebCore
- Revision
- 251694
- Author
- commit-qu...@webkit.org
- Date
- 2019-10-28 21:08:10 -0700 (Mon, 28 Oct 2019)
Log Message
Remove unnecessary #include <limits.h> header from Timer.cpp
https://bugs.webkit.org/show_bug.cgi?id=203504
Patch by Daniel Bates <daba...@apple.com> on 2019-10-28
Reviewed by Alex Christensen.
Timer.cpp includes both <limits> and <limits.h>. The latter was added to fix a build issue in r30193 that
effected GCC 4.3 when Timer.cpp referenced UINT_MAX. Timer.cpp no longer references this constant and instead
uses the C++ std::numeric_limits equivalent. So, remove the #include <limits.h>.
* platform/Timer.cpp:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (251693 => 251694)
--- trunk/Source/WebCore/ChangeLog 2019-10-29 02:34:20 UTC (rev 251693)
+++ trunk/Source/WebCore/ChangeLog 2019-10-29 04:08:10 UTC (rev 251694)
@@ -1,3 +1,16 @@
+2019-10-28 Daniel Bates <daba...@apple.com>
+
+ Remove unnecessary #include <limits.h> header from Timer.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=203504
+
+ Reviewed by Alex Christensen.
+
+ Timer.cpp includes both <limits> and <limits.h>. The latter was added to fix a build issue in r30193 that
+ effected GCC 4.3 when Timer.cpp referenced UINT_MAX. Timer.cpp no longer references this constant and instead
+ uses the C++ std::numeric_limits equivalent. So, remove the #include <limits.h>.
+
+ * platform/Timer.cpp:
+
2019-10-28 Yusuke Suzuki <ysuz...@apple.com>
[JSC] Remove JSPromiseDeferred
Modified: trunk/Source/WebCore/platform/Timer.cpp (251693 => 251694)
--- trunk/Source/WebCore/platform/Timer.cpp 2019-10-29 02:34:20 UTC (rev 251693)
+++ trunk/Source/WebCore/platform/Timer.cpp 2019-10-29 04:08:10 UTC (rev 251694)
@@ -31,7 +31,6 @@
#include "SharedTimer.h"
#include "ThreadGlobalData.h"
#include "ThreadTimers.h"
-#include <limits.h>
#include <limits>
#include <math.h>
#include <wtf/MainThread.h>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes