Title: [230463] trunk/Source
Revision
230463
Author
mcatanz...@igalia.com
Date
2018-04-09 18:42:45 -0700 (Mon, 09 Apr 2018)

Log Message

Rename UNUSED to BUNUSED
https://bugs.webkit.org/show_bug.cgi?id=184093

Reviewed by Yusuke Suzuki.

Source/bmalloc:

* bmalloc/BAssert.h:
* bmalloc/VMAllocate.h:
(bmalloc::vmValidate):
(bmalloc::vmValidatePhysical):

Source/WebKit:

* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _getApplicationManifestWithCompletionHandler:]):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (230462 => 230463)


--- trunk/Source/WebKit/ChangeLog	2018-04-10 01:36:29 UTC (rev 230462)
+++ trunk/Source/WebKit/ChangeLog	2018-04-10 01:42:45 UTC (rev 230463)
@@ -1,3 +1,13 @@
+2018-04-09  Michael Catanzaro  <mcatanz...@igalia.com>
+
+        Rename UNUSED to BUNUSED
+        https://bugs.webkit.org/show_bug.cgi?id=184093
+
+        Reviewed by Yusuke Suzuki.
+
+        * UIProcess/API/Cocoa/WKWebView.mm:
+        (-[WKWebView _getApplicationManifestWithCompletionHandler:]):
+
 2018-04-09  Timothy Hatcher  <timo...@apple.com>
 
         Add support for setting a background color on WKWebView and WKView

Modified: trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm (230462 => 230463)


--- trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm	2018-04-10 01:36:29 UTC (rev 230462)
+++ trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm	2018-04-10 01:42:45 UTC (rev 230463)
@@ -4477,7 +4477,7 @@
 {
 #if ENABLE(APPLICATION_MANIFEST)
     _page->getApplicationManifest([completionHandler = makeBlockPtr(completionHandler)](const std::optional<WebCore::ApplicationManifest>& manifest, WebKit::CallbackBase::Error error) {
-        UNUSED(error);
+        UNUSED_PARAM(error);
         if (completionHandler) {
             if (manifest) {
                 auto apiManifest = API::ApplicationManifest::create(*manifest);

Modified: trunk/Source/bmalloc/ChangeLog (230462 => 230463)


--- trunk/Source/bmalloc/ChangeLog	2018-04-10 01:36:29 UTC (rev 230462)
+++ trunk/Source/bmalloc/ChangeLog	2018-04-10 01:42:45 UTC (rev 230463)
@@ -1,3 +1,15 @@
+2018-04-09  Michael Catanzaro  <mcatanz...@igalia.com>
+
+        Rename UNUSED to BUNUSED
+        https://bugs.webkit.org/show_bug.cgi?id=184093
+
+        Reviewed by Yusuke Suzuki.
+
+        * bmalloc/BAssert.h:
+        * bmalloc/VMAllocate.h:
+        (bmalloc::vmValidate):
+        (bmalloc::vmValidatePhysical):
+
 2018-04-08  Yusuke Suzuki  <utatane....@gmail.com>
 
         Use alignas instead of compiler-specific attributes

Modified: trunk/Source/bmalloc/bmalloc/BAssert.h (230462 => 230463)


--- trunk/Source/bmalloc/bmalloc/BAssert.h	2018-04-10 01:36:29 UTC (rev 230462)
+++ trunk/Source/bmalloc/bmalloc/BAssert.h	2018-04-10 01:42:45 UTC (rev 230463)
@@ -100,7 +100,7 @@
 } while (0)
 #endif
 
-#define UNUSED(x) ((void)x)
+#define BUNUSED(x) ((void)x)
 
 // ===== Release build =====
 

Modified: trunk/Source/bmalloc/bmalloc/VMAllocate.h (230462 => 230463)


--- trunk/Source/bmalloc/bmalloc/VMAllocate.h	2018-04-10 01:36:29 UTC (rev 230462)
+++ trunk/Source/bmalloc/bmalloc/VMAllocate.h	2018-04-10 01:42:45 UTC (rev 230463)
@@ -76,7 +76,7 @@
 
 inline void vmValidate(size_t vmSize)
 {
-    UNUSED(vmSize);
+    BUNUSED(vmSize);
     BASSERT(vmSize);
     BASSERT(vmSize == roundUpToMultipleOf(vmPageSize(), vmSize));
 }
@@ -85,7 +85,7 @@
 {
     vmValidate(vmSize);
     
-    UNUSED(p);
+    BUNUSED(p);
     BASSERT(p);
     BASSERT(p == mask(p, ~(vmPageSize() - 1)));
 }
@@ -104,7 +104,7 @@
 
 inline void vmValidatePhysical(size_t vmSize)
 {
-    UNUSED(vmSize);
+    BUNUSED(vmSize);
     BASSERT(vmSize);
     BASSERT(vmSize == roundUpToMultipleOf(vmPageSizePhysical(), vmSize));
 }
@@ -113,7 +113,7 @@
 {
     vmValidatePhysical(vmSize);
     
-    UNUSED(p);
+    BUNUSED(p);
     BASSERT(p);
     BASSERT(p == mask(p, ~(vmPageSizePhysical() - 1)));
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to