Title: [218349] trunk/Source/WTF
Revision
218349
Author
cdu...@apple.com
Date
2017-06-15 12:49:40 -0700 (Thu, 15 Jun 2017)

Log Message

Fix typo in XPCSPI.h
https://bugs.webkit.org/show_bug.cgi?id=173426

Reviewed by Alex Christensen.

We should check if xpc_release is defined before defining it,
not xpc_retain.

* wtf/spi/darwin/XPCSPI.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (218348 => 218349)


--- trunk/Source/WTF/ChangeLog	2017-06-15 19:37:21 UTC (rev 218348)
+++ trunk/Source/WTF/ChangeLog	2017-06-15 19:49:40 UTC (rev 218349)
@@ -1,3 +1,15 @@
+2017-06-15  Chris Dumez  <cdu...@apple.com>
+
+        Fix typo in XPCSPI.h
+        https://bugs.webkit.org/show_bug.cgi?id=173426
+
+        Reviewed by Alex Christensen.
+
+        We should check if xpc_release is defined before defining it,
+        not xpc_retain.
+
+        * wtf/spi/darwin/XPCSPI.h:
+
 2017-06-15  Konstantin Tokarev  <annu...@yandex.ru>
 
         Implement FALLTHROUGH macro for compilers other than Clang

Modified: trunk/Source/WTF/wtf/spi/darwin/XPCSPI.h (218348 => 218349)


--- trunk/Source/WTF/wtf/spi/darwin/XPCSPI.h	2017-06-15 19:37:21 UTC (rev 218348)
+++ trunk/Source/WTF/wtf/spi/darwin/XPCSPI.h	2017-06-15 19:49:40 UTC (rev 218349)
@@ -152,7 +152,7 @@
 #endif
 
 #if OS_OBJECT_USE_OBJC_RETAIN_RELEASE
-#if !defined(xpc_retain)
+#if !defined(xpc_release)
 #define xpc_release(object) ({ xpc_object_t _o = (object); _xpc_object_validate(_o); [_o release]; })
 #endif
 #else
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to