Title: [229770] trunk/Source/WTF
Revision
229770
Author
bb...@apple.com
Date
2018-03-20 13:26:17 -0700 (Tue, 20 Mar 2018)

Log Message

SLEEP_THREAD_FOR_DEBUGGER should not use fancy number literals
https://bugs.webkit.org/show_bug.cgi?id=183792

Reviewed by Timothy Hatcher.

* wtf/DebugUtilities.h: Remove the '_s' since this won't
compile when included by files compiled as Objective-C++.

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (229769 => 229770)


--- trunk/Source/WTF/ChangeLog	2018-03-20 18:25:16 UTC (rev 229769)
+++ trunk/Source/WTF/ChangeLog	2018-03-20 20:26:17 UTC (rev 229770)
@@ -1,3 +1,13 @@
+2018-03-20  Brian Burg  <bb...@apple.com>
+
+        SLEEP_THREAD_FOR_DEBUGGER should not use fancy number literals
+        https://bugs.webkit.org/show_bug.cgi?id=183792
+
+        Reviewed by Timothy Hatcher.
+
+        * wtf/DebugUtilities.h: Remove the '_s' since this won't
+        compile when included by files compiled as Objective-C++.
+
 2018-03-20  Tim Horton  <timothy_hor...@apple.com>
 
         Add and adopt WK_PLATFORM_NAME and adjust default feature defines

Modified: trunk/Source/WTF/wtf/DebugUtilities.h (229769 => 229770)


--- trunk/Source/WTF/wtf/DebugUtilities.h	2018-03-20 18:25:16 UTC (rev 229769)
+++ trunk/Source/WTF/wtf/DebugUtilities.h	2018-03-20 20:26:17 UTC (rev 229770)
@@ -32,7 +32,7 @@
 #define SLEEP_THREAD_FOR_DEBUGGER() \
 do { \
     do { \
-        sleep(1_s); \
+        sleep(1); \
         if (WTFIsDebuggerAttached()) \
             break; \
     } while (1); \
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to