Title: [238949] trunk/Source
Revision
238949
Author
[email protected]
Date
2018-12-06 21:51:30 -0800 (Thu, 06 Dec 2018)

Log Message

Move USE_NEW_THEME out of WebCore's config.h
https://bugs.webkit.org/show_bug.cgi?id=192426

Reviewed by Tim Horton.

Source/WebCore:

* config.h:

Source/WTF:

* wtf/Platform.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (238948 => 238949)


--- trunk/Source/WTF/ChangeLog	2018-12-07 05:34:21 UTC (rev 238948)
+++ trunk/Source/WTF/ChangeLog	2018-12-07 05:51:30 UTC (rev 238949)
@@ -1,3 +1,12 @@
+2018-12-06  Alexey Proskuryakov  <[email protected]>
+
+        Move USE_NEW_THEME out of WebCore's config.h
+        https://bugs.webkit.org/show_bug.cgi?id=192426
+
+        Reviewed by Tim Horton.
+
+        * wtf/Platform.h:
+
 2018-12-04  Carlos Garcia Campos  <[email protected]>
 
         [SOUP] Move URLSoup back to WebCore after r238771

Modified: trunk/Source/WTF/wtf/Platform.h (238948 => 238949)


--- trunk/Source/WTF/wtf/Platform.h	2018-12-07 05:34:21 UTC (rev 238948)
+++ trunk/Source/WTF/wtf/Platform.h	2018-12-07 05:51:30 UTC (rev 238949)
@@ -1418,3 +1418,12 @@
 #define USE_CFNETWORK_AUTO_ADDED_HTTP_HEADER_SUPPRESSION 1
 #endif
 #endif
+
+#ifdef __APPLE__
+#define HAVE_FUNC_USLEEP 1
+#endif
+
+#if PLATFORM(MAC) || PLATFORM(WPE)
+/* FIXME: This really needs a descriptive name, this "new theme" was added in 2008. */
+#define USE_NEW_THEME 1
+#endif

Modified: trunk/Source/WebCore/ChangeLog (238948 => 238949)


--- trunk/Source/WebCore/ChangeLog	2018-12-07 05:34:21 UTC (rev 238948)
+++ trunk/Source/WebCore/ChangeLog	2018-12-07 05:51:30 UTC (rev 238949)
@@ -1,3 +1,12 @@
+2018-12-06  Alexey Proskuryakov  <[email protected]>
+
+        Move USE_NEW_THEME out of WebCore's config.h
+        https://bugs.webkit.org/show_bug.cgi?id=192426
+
+        Reviewed by Tim Horton.
+
+        * config.h:
+
 2018-12-06  Frederic Wang  <[email protected]>
 
         Allow control over child order when adding nodes to the scrolling tree

Modified: trunk/Source/WebCore/config.h (238948 => 238949)


--- trunk/Source/WebCore/config.h	2018-12-07 05:34:21 UTC (rev 238948)
+++ trunk/Source/WebCore/config.h	2018-12-07 05:51:30 UTC (rev 238949)
@@ -33,10 +33,6 @@
 #include <_javascript_Core/JSExportMacros.h>
 #include <pal/ExportMacros.h>
 
-#ifdef __APPLE__
-#define HAVE_FUNC_USLEEP 1
-#endif /* __APPLE__ */
-
 // Using CMake with Unix makefiles does not use prefix headers.
 #if PLATFORM(MAC) && defined(BUILDING_WITH_CMAKE)
 #include "WebCorePrefix.h"
@@ -56,10 +52,6 @@
 
 #include <wtf/DisallowCType.h>
 
-#if PLATFORM(MAC) || PLATFORM(WPE)
-#define USE_NEW_THEME 1
-#endif
-
 #if USE(CG)
 #ifndef CGFLOAT_DEFINED
 #if (defined(__LP64__) && __LP64__) || (defined(__x86_64__) && __x86_64__) || defined(_M_X64) || defined(__amd64__)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to