[EFL][WK2] Fix build warning after r142579
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Feb 2013 00:23:39 +0000 (00:23 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Feb 2013 00:23:39 +0000 (00:23 +0000)
https://bugs.webkit.org/show_bug.cgi?id=109547

Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2013-02-12
Reviewed by Alexey Proskuryakov.

Use UNUSED_PARAM macro to fix -Wunused-parameter build warning.

* UIProcess/efl/PageViewportControllerClientEfl.cpp:
(WebKit::PageViewportControllerClientEfl::didChangeContentsSize):

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

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/efl/PageViewportControllerClientEfl.cpp

index 3b62b13faa882e732e609054686ae01e49f4248c..39084a395254ba25dd92dad0c3a64ad1e3d07ccb 100644 (file)
@@ -1,3 +1,15 @@
+2013-02-12  Jinwoo Song  <jinwoo7.song@samsung.com>
+
+        [EFL][WK2] Fix build warning after r142579
+        https://bugs.webkit.org/show_bug.cgi?id=109547
+
+        Reviewed by Alexey Proskuryakov.
+
+        Use UNUSED_PARAM macro to fix -Wunused-parameter build warning.
+
+        * UIProcess/efl/PageViewportControllerClientEfl.cpp:
+        (WebKit::PageViewportControllerClientEfl::didChangeContentsSize):
+
 2013-02-12  Christophe Dumez  <ch.dumez@sisa.samsung.com>
 
         [EFL][WK2] Reenable ewk_auth_request API tests
index e2278c7c0e1fc18ad079789414989bcb197019d1..4b7cb845cdb57545048b62c7ba551fcdd0f97783 100644 (file)
@@ -68,6 +68,7 @@ void PageViewportControllerClientEfl::updateViewportSize()
 
 void PageViewportControllerClientEfl::didChangeContentsSize(const WebCore::IntSize& contentsSize)
 {
+    UNUSED_PARAM(contentsSize);
     m_view->scheduleUpdateDisplay();
 }