Title: [260184] trunk/Source/WebCore
Revision
260184
Author
[email protected]
Date
2020-04-16 07:25:56 -0700 (Thu, 16 Apr 2020)

Log Message

Clean a couple of unused-parameters warnings
https://bugs.webkit.org/show_bug.cgi?id=210596

Unreviewed.

No new tests needed.


* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::wouldTaintOrigin const): Remove
a spurious UNUSED_PARAM() for an actually used parameter.
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::updateSecurityDiscCharacters):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (260183 => 260184)


--- trunk/Source/WebCore/ChangeLog	2020-04-16 14:07:15 UTC (rev 260183)
+++ trunk/Source/WebCore/ChangeLog	2020-04-16 14:25:56 UTC (rev 260184)
@@ -1,3 +1,18 @@
+2020-04-16  Claudio Saavedra  <[email protected]>
+
+        Clean a couple of unused-parameters warnings
+        https://bugs.webkit.org/show_bug.cgi?id=210596
+
+        Unreviewed.
+
+        No new tests needed.
+
+        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
+        (WebCore::MediaPlayerPrivateGStreamer::wouldTaintOrigin const): Remove
+        a spurious UNUSED_PARAM() for an actually used parameter.
+        * rendering/RenderBlock.cpp:
+        (WebCore::RenderBlock::updateSecurityDiscCharacters):
+
 2020-04-16  Eric Carlson  <[email protected]>
 
         [macOS] Update ScreenTime as playback state changes

Modified: trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp (260183 => 260184)


--- trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp	2020-04-16 14:07:15 UTC (rev 260183)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp	2020-04-16 14:25:56 UTC (rev 260184)
@@ -1110,7 +1110,6 @@
     // GStreamer < 1.12 has an incomplete uridownloader implementation so we
     // can't use WebKitWebSrc for adaptive fragments downloading if this
     // version is detected.
-    UNUSED_PARAM(origin);
     return m_hasTaintedOrigin;
 }
 

Modified: trunk/Source/WebCore/rendering/RenderBlock.cpp (260183 => 260184)


--- trunk/Source/WebCore/rendering/RenderBlock.cpp	2020-04-16 14:07:15 UTC (rev 260183)
+++ trunk/Source/WebCore/rendering/RenderBlock.cpp	2020-04-16 14:25:56 UTC (rev 260184)
@@ -3512,6 +3512,7 @@
 String RenderBlock::updateSecurityDiscCharacters(const RenderStyle& style, String&& string)
 {
 #if !PLATFORM(COCOA)
+    UNUSED_PARAM(style);
     return WTFMove(string);
 #else
     if (style.textSecurity() == TextSecurity::None)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to