Changeset 217120 in webkit
- Timestamp:
- May 19, 2017 3:13:03 AM (7 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r217105 r217120 1 2017-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 1 12 2017-05-19 Don Olmstead <don.olmstead@am.sony.com> 2 13 -
trunk/Source/WTF/wtf/MemoryPressureHandler.cpp
r217101 r217120 278 278 } 279 279 280 #if !PLATFORM(COCOA) && !OS(LINUX) && ! PLATFORM(WIN)280 #if !PLATFORM(COCOA) && !OS(LINUX) && !OS(WINDOWS) 281 281 void MemoryPressureHandler::install() { } 282 282 void MemoryPressureHandler::uninstall() { } … … 287 287 #endif 288 288 289 #if ! PLATFORM(WIN)289 #if !OS(WINDOWS) 290 290 void MemoryPressureHandler::platformInitialize() { } 291 291 #endif -
trunk/Source/WTF/wtf/MemoryPressureHandler.h
r217101 r217120 40 40 #endif 41 41 42 #if PLATFORM(WIN)42 #if OS(WINDOWS) 43 43 #include <wtf/win/Win32Handle.h> 44 44 #endif -
trunk/Source/WTF/wtf/Platform.h
r217105 r217120 1030 1030 to WTF causes many ports to break, and so this way we can address the build 1031 1031 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)) 1033 1033 #define USE_EXPORT_MACROS 1 1034 1034 #endif 1035 1035 1036 #if !defined(USE_EXPORT_MACROS_FOR_TESTING) && (PLATFORM(GTK) || PLATFORM(WIN))1036 #if !defined(USE_EXPORT_MACROS_FOR_TESTING) && (PLATFORM(GTK) || OS(WINDOWS)) 1037 1037 #define USE_EXPORT_MACROS_FOR_TESTING 1 1038 1038 #endif … … 1217 1217 1218 1218 #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) 1220 1223 /* Use Windows message pump abstraction. 1221 1224 * Even if the port is AppleWin, we use the Windows message pump system for the event loop, … … 1228 1231 /* OS X and IOS. Use CoreFoundation & GCD abstraction. */ 1229 1232 #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 11233 1233 #else 1234 1234 #define USE_GENERIC_EVENT_LOOP 1
Note: See TracChangeset
for help on using the changeset viewer.