<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">--- Source/WTF/wtf/StdLibExtras.h.orig	2016-04-10 10:48:36
+++ Source/WTF/wtf/StdLibExtras.h	2024-12-16 13:51:17
@@ -320,78 +320,7 @@
     };
 }
 #endif
-
-// This adds various C++14 features for versions of the STL that may not yet have them.
-namespace std {
-// MSVC 2013 supports std::make_unique already.
-#if !defined(_MSC_VER) || _MSC_VER &lt; 1800
-template&lt;class T&gt; struct _Unique_if {
-    typedef unique_ptr&lt;T&gt; _Single_object;
-};
 
-template&lt;class T&gt; struct _Unique_if&lt;T[]&gt; {
-    typedef unique_ptr&lt;T[]&gt; _Unknown_bound;
-};
-
-template&lt;class T, size_t N&gt; struct _Unique_if&lt;T[N]&gt; {
-    typedef void _Known_bound;
-};
-
-template&lt;class T, class... Args&gt; inline typename _Unique_if&lt;T&gt;::_Single_object
-make_unique(Args&amp;&amp;... args)
-{
-    return unique_ptr&lt;T&gt;(new T(std::forward&lt;Args&gt;(args)...));
-}
-
-template&lt;class T&gt; inline typename _Unique_if&lt;T&gt;::_Unknown_bound
-make_unique(size_t n)
-{
-    typedef typename remove_extent&lt;T&gt;::type U;
-    return unique_ptr&lt;T&gt;(new U[n]());
-}
-
-template&lt;class T, class... Args&gt; typename _Unique_if&lt;T&gt;::_Known_bound
-make_unique(Args&amp;&amp;...) = delete;
-#endif
-
-// Compile-time integer sequences
-// http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3658.html
-// (Note that we only implement index_sequence, and not the more generic integer_sequence).
-template&lt;size_t... indexes&gt; struct index_sequence {
-    static size_t size() { return sizeof...(indexes); }
-};
-
-template&lt;size_t currentIndex, size_t...indexes&gt; struct make_index_sequence_helper;
-
-template&lt;size_t...indexes&gt; struct make_index_sequence_helper&lt;0, indexes...&gt; {
-    typedef std::index_sequence&lt;indexes...&gt; type;
-};
-
-template&lt;size_t currentIndex, size_t...indexes&gt; struct make_index_sequence_helper {
-    typedef typename make_index_sequence_helper&lt;currentIndex - 1, currentIndex - 1, indexes...&gt;::type type;
-};
-
-template&lt;size_t length&gt; struct make_index_sequence : public make_index_sequence_helper&lt;length&gt;::type { };
-
-#if COMPILER_SUPPORTS(CXX_USER_LITERALS)
-// These literals are available in C++14, so once we require C++14 compilers we can get rid of them here.
-// (User-literals need to have a leading underscore so we add it here - the "real" literals don't have underscores).
-namespace literals {
-namespace chrono_literals {
-    CONSTEXPR inline chrono::seconds operator"" _s(unsigned long long s)
-    {
-        return chrono::seconds(static_cast&lt;chrono::seconds::rep&gt;(s));
-    }
-
-    CONSTEXPR chrono::milliseconds operator"" _ms(unsigned long long ms)
-    {
-        return chrono::milliseconds(static_cast&lt;chrono::milliseconds::rep&gt;(ms));
-    }
-}
-}
-#endif
-}
-
 using WTF::KB;
 using WTF::MB;
 using WTF::insertIntoBoundedVector;
--- Source/WTF/wtf/MathExtras.h.orig	2016-04-10 10:48:36
+++ Source/WTF/wtf/MathExtras.h	2024-12-16 18:39:15
@@ -73,15 +73,6 @@
 const double sqrtOfTwoDouble = M_SQRT2;
 #endif
 
-#if OS(DARWIN)
-
-// Work around a bug in the Mac OS X libc where ceil(-0.1) return +0.
-inline double wtf_ceil(double x) { return copysign(ceil(x), x); }
-
-#define ceil(x) wtf_ceil(x)
-
-#endif
-
 #if OS(SOLARIS)
 
 namespace std {
--- Source/WebCore/platform/LayoutUnit.h.orig	2016-04-10 10:48:37
+++ Source/WebCore/platform/LayoutUnit.h	2024-12-16 18:49:49
@@ -210,11 +210,7 @@
         returnValue.setRawValue(::abs(m_value));
         return returnValue;
     }
-#if OS(DARWIN)
-    int wtf_ceil() const
-#else
     int ceil() const
-#endif
     {
 #if ENABLE(SUBPIXEL_LAYOUT)
 #if ENABLE(SATURATED_LAYOUT_ARITHMETIC)
--- Source/ThirdParty/ANGLE/src/compiler/preprocessor/MacroExpander.h.orig	2016-04-10 10:48:36
+++ Source/ThirdParty/ANGLE/src/compiler/preprocessor/MacroExpander.h	2024-12-16 18:40:49
@@ -66,7 +66,7 @@
     MacroSet* mMacroSet;
     Diagnostics* mDiagnostics;
 
-    std::auto_ptr&lt;Token&gt; mReserveToken;
+    std::unique_ptr&lt;Token&gt; mReserveToken;
     std::vector&lt;MacroContext*&gt; mContextStack;
 };
 
</pre></body></html>