Changeset 217120 in webkit


Ignore:
Timestamp:
May 19, 2017 3:13:03 AM (7 years ago)
Author:
commit-queue@webkit.org
Message:

[WTF] Remove PLATFORM(WIN) references
https://bugs.webkit.org/show_bug.cgi?id=172301

Patch by Don Olmstead <don.olmstead@am.sony.com> on 2017-05-19
Reviewed by Yusuke Suzuki.

  • wtf/MemoryPressureHandler.cpp:
  • wtf/MemoryPressureHandler.h:
  • wtf/Platform.h:
Location:
trunk/Source/WTF
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r217105 r217120  
     12017-05-19  Don Olmstead  <don.olmstead@am.sony.com>
     2
     3        [WTF] Remove PLATFORM(WIN) references
     4        https://bugs.webkit.org/show_bug.cgi?id=172301
     5
     6        Reviewed by Yusuke Suzuki.
     7
     8        * wtf/MemoryPressureHandler.cpp:
     9        * wtf/MemoryPressureHandler.h:
     10        * wtf/Platform.h:
     11
    1122017-05-19  Don Olmstead  <don.olmstead@am.sony.com>
    213
  • trunk/Source/WTF/wtf/MemoryPressureHandler.cpp

    r217101 r217120  
    278278}
    279279
    280 #if !PLATFORM(COCOA) && !OS(LINUX) && !PLATFORM(WIN)
     280#if !PLATFORM(COCOA) && !OS(LINUX) && !OS(WINDOWS)
    281281void MemoryPressureHandler::install() { }
    282282void MemoryPressureHandler::uninstall() { }
     
    287287#endif
    288288
    289 #if !PLATFORM(WIN)
     289#if !OS(WINDOWS)
    290290void MemoryPressureHandler::platformInitialize() { }
    291291#endif
  • trunk/Source/WTF/wtf/MemoryPressureHandler.h

    r217101 r217120  
    4040#endif
    4141
    42 #if PLATFORM(WIN)
     42#if OS(WINDOWS)
    4343#include <wtf/win/Win32Handle.h>
    4444#endif
  • trunk/Source/WTF/wtf/Platform.h

    r217105 r217120  
    10301030   to WTF causes many ports to break, and so this way we can address the build
    10311031   breakages one port at a time. */
    1032 #if !defined(USE_EXPORT_MACROS) && (PLATFORM(COCOA) || PLATFORM(WIN))
     1032#if !defined(USE_EXPORT_MACROS) && (PLATFORM(COCOA) || OS(WINDOWS))
    10331033#define USE_EXPORT_MACROS 1
    10341034#endif
    10351035
    1036 #if !defined(USE_EXPORT_MACROS_FOR_TESTING) && (PLATFORM(GTK) || PLATFORM(WIN))
     1036#if !defined(USE_EXPORT_MACROS_FOR_TESTING) && (PLATFORM(GTK) || OS(WINDOWS))
    10371037#define USE_EXPORT_MACROS_FOR_TESTING 1
    10381038#endif
     
    12171217
    12181218#if WTF_DEFAULT_EVENT_LOOP
    1219 #if PLATFORM(WIN)
     1219#if USE(GLIB)
     1220/* Use GLib's event loop abstraction. Primarily GTK port uses it. */
     1221#define USE_GLIB_EVENT_LOOP 1
     1222#elif OS(WINDOWS)
    12201223/* Use Windows message pump abstraction.
    12211224 * Even if the port is AppleWin, we use the Windows message pump system for the event loop,
     
    12281231/* OS X and IOS. Use CoreFoundation & GCD abstraction. */
    12291232#define USE_COCOA_EVENT_LOOP 1
    1230 #elif USE(GLIB)
    1231 /* Use GLib's event loop abstraction. Primarily GTK port uses it. */
    1232 #define USE_GLIB_EVENT_LOOP 1
    12331233#else
    12341234#define USE_GENERIC_EVENT_LOOP 1
Note: See TracChangeset for help on using the changeset viewer.