Changeset 232184 in webkit
- Timestamp:
- May 24, 2018, 10:09:33 PM (7 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r232176 r232184 1 2018-05-24 Dan Bernstein <mitz@apple.com> 2 3 ProcessLauncherMac.mm contains a couple of meaningless #ifndef directives 4 https://bugs.webkit.org/show_bug.cgi?id=185973 5 6 Reviewed by Tim Horton. 7 8 * UIProcess/Launcher/mac/ProcessLauncherMac.mm: 9 (WebKit::ProcessLauncher::launchProcess): Use #if !ASSERT_DISABLED to guard statements that 10 are only needed for an assertion, instead of #ifndef _NDEBUG, which is always true. 11 1 12 2018-05-24 Carlos Alberto Lopez Perez <clopez@igalia.com> 2 13 -
trunk/Source/WebKit/UIProcess/Launcher/mac/ProcessLauncherMac.mm
r232160 r232184 213 213 return; 214 214 215 #if ndef _NDEBUG215 #if !ASSERT_DISABLED 216 216 mach_port_urefs_t sendRightCount = 0; 217 217 mach_port_get_refs(mach_task_self(), listeningPort, MACH_PORT_RIGHT_SEND, &sendRightCount); … … 250 250 ASSERT(!strcmp(xpc_dictionary_get_string(reply, "message-name"), "process-finished-launching")); 251 251 252 #if ndef _NDEBUG252 #if !ASSERT_DISABLED 253 253 mach_port_urefs_t sendRightCount = 0; 254 254 mach_port_get_refs(mach_task_self(), listeningPort, MACH_PORT_RIGHT_SEND, &sendRightCount);
Note:
See TracChangeset
for help on using the changeset viewer.