[GTK] Suppress unused parameter warnings in ui clients
authorutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 31 Dec 2014 21:34:17 +0000 (21:34 +0000)
committerutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 31 Dec 2014 21:34:17 +0000 (21:34 +0000)
https://bugs.webkit.org/show_bug.cgi?id=140012

Drop the parameter name of WebKitUIClient::isPlayingAudioDidChange
to suppress warnings.

Reviewed by Benjamin Poulain.

* UIProcess/API/gtk/WebKitUIClient.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@177838 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/gtk/WebKitUIClient.cpp

index 2485458..5566c74 100644 (file)
@@ -1,3 +1,15 @@
+2014-12-31  Yusuke Suzuki  <utatane.tea@gmail.com>
+
+        [GTK] Suppress unused parameter warnings in ui clients
+        https://bugs.webkit.org/show_bug.cgi?id=140012
+
+        Drop the parameter name of WebKitUIClient::isPlayingAudioDidChange
+        to suppress warnings.
+
+        Reviewed by Benjamin Poulain.
+
+        * UIProcess/API/gtk/WebKitUIClient.cpp:
+
 2014-12-31  Sam Weinig  <sam@webkit.org>
 
         Remove the remaining uses of OwnPtr from WebKit2
index c66d55a..ed384cb 100644 (file)
@@ -186,7 +186,7 @@ private:
         webkitWebViewRunAsModal(m_webView);
     }
 
-    virtual void isPlayingAudioDidChange(WebPageProxy& page) override
+    virtual void isPlayingAudioDidChange(WebPageProxy&) override
     {
         webkitWebViewIsPlayingAudioChanged(m_webView);
     }