Fix unused parameter build warning in UIProcess module
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 Jul 2014 17:32:38 +0000 (17:32 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 Jul 2014 17:32:38 +0000 (17:32 +0000)
https://bugs.webkit.org/show_bug.cgi?id=135154

Patch by Shivakumar JM <shiva.jm@samsung.com> on 2014-07-22
Reviewed by Alexey Proskuryakov.

Fix unused parameter build warning in UIProcess module by using UNUSED_PARAM macro.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::viewStateDidChange):

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

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/WebPageProxy.cpp

index 7af7c72f52b379482c61ad331d596c0183bf4758..7a4fa0689c1db530eb22f56d797adb8a821e667a 100644 (file)
@@ -1,3 +1,15 @@
+2014-07-22  Shivakumar JM  <shiva.jm@samsung.com>
+
+        Fix unused parameter build warning in UIProcess module
+        https://bugs.webkit.org/show_bug.cgi?id=135154
+
+        Reviewed by Alexey Proskuryakov.
+
+        Fix unused parameter build warning in UIProcess module by using UNUSED_PARAM macro.
+
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::WebPageProxy::viewStateDidChange):
+
 2014-07-22  Jeremy Jones  <jeremyj@apple.com>
 
         Don't create new UIWindow for video fullscreen.
index c0c1932125ffc3128d62e80836aeb1b5d43adfe1..7f584a3ded24263c34b84cc00939bb805cb4ed87 100644 (file)
@@ -1137,6 +1137,7 @@ void WebPageProxy::viewStateDidChange(ViewState::Flags mayHaveChanged, bool want
     }
     m_viewStateChangeDispatcher->schedule();
 #else
+    UNUSED_PARAM(dispatchMode);
     dispatchViewStateChange();
 #endif
 }