Title: [236790] trunk/Source
- Revision
- 236790
- Author
- mcatanz...@igalia.com
- Date
- 2018-10-03 04:03:48 -0700 (Wed, 03 Oct 2018)
Log Message
-Wunused-variable in RenderLayer::updateScrollableAreaSet
https://bugs.webkit.org/show_bug.cgi?id=190200
Reviewed by Yusuke Suzuki.
Source/WebCore:
Pass it through UNUSED_VARIABLE().
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::calculateClipRects const):
Source/WTF:
Add a new UNUSED_VARIABLE() macro. It's the same as UNUSED_PARAM(), just named differently.
* wtf/Compiler.h:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (236789 => 236790)
--- trunk/Source/WTF/ChangeLog 2018-10-03 10:09:29 UTC (rev 236789)
+++ trunk/Source/WTF/ChangeLog 2018-10-03 11:03:48 UTC (rev 236790)
@@ -1,3 +1,14 @@
+2018-10-03 Michael Catanzaro <mcatanz...@igalia.com>
+
+ -Wunused-variable in RenderLayer::updateScrollableAreaSet
+ https://bugs.webkit.org/show_bug.cgi?id=190200
+
+ Reviewed by Yusuke Suzuki.
+
+ Add a new UNUSED_VARIABLE() macro. It's the same as UNUSED_PARAM(), just named differently.
+
+ * wtf/Compiler.h:
+
2018-10-01 Dean Jackson <d...@apple.com>
[macOS] Switching to discrete GPU should be done in the UI process
Modified: trunk/Source/WTF/wtf/Compiler.h (236789 => 236790)
--- trunk/Source/WTF/wtf/Compiler.h 2018-10-03 10:09:29 UTC (rev 236789)
+++ trunk/Source/WTF/wtf/Compiler.h 2018-10-03 11:03:48 UTC (rev 236790)
@@ -367,6 +367,11 @@
#define UNUSED_PARAM(variable) (void)variable
#endif
+/* UNUSED_VARIABLE */
+#if !defined(UNUSED_VARIABLE)
+#define UNUSED_VARIABLE(variable) UNUSED_PARAM(variable)
+#endif
+
/* WARN_UNUSED_RETURN */
#if !defined(WARN_UNUSED_RETURN) && COMPILER(GCC_COMPATIBLE)
Modified: trunk/Source/WebCore/ChangeLog (236789 => 236790)
--- trunk/Source/WebCore/ChangeLog 2018-10-03 10:09:29 UTC (rev 236789)
+++ trunk/Source/WebCore/ChangeLog 2018-10-03 11:03:48 UTC (rev 236790)
@@ -1,3 +1,15 @@
+2018-10-03 Michael Catanzaro <mcatanz...@igalia.com>
+
+ -Wunused-variable in RenderLayer::updateScrollableAreaSet
+ https://bugs.webkit.org/show_bug.cgi?id=190200
+
+ Reviewed by Yusuke Suzuki.
+
+ Pass it through UNUSED_VARIABLE().
+
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::calculateClipRects const):
+
2018-10-03 Zan Dobersek <zdober...@igalia.com>
Ref<FetchResponse> use-after-move in DOMCache::put()
Modified: trunk/Source/WebCore/rendering/RenderLayer.cpp (236789 => 236790)
--- trunk/Source/WebCore/rendering/RenderLayer.cpp 2018-10-03 10:09:29 UTC (rev 236789)
+++ trunk/Source/WebCore/rendering/RenderLayer.cpp 2018-10-03 11:03:48 UTC (rev 236790)
@@ -6364,6 +6364,8 @@
unregisterAsTouchEventListenerForScrolling();
}
}
+#else
+ UNUSED_VARIABLE(addedOrRemoved);
#endif
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes