Fix unused variable warning.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Aug 2013 12:52:18 +0000 (12:52 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Aug 2013 12:52:18 +0000 (12:52 +0000)
https://bugs.webkit.org/show_bug.cgi?id=120396

Patch by Ábrahám Gábor <abrhm@inf.u-szeged.hu> on 2013-08-28
Reviewed by Allan Sandfeld Jensen.

Fix unused variable compiler warning in PageOverlay.h

* WebProcess/WebPage/PageOverlay.h:
(WebKit::PageOverlay::Client::copyAccessibilityAttributeValue):
(WebKit::PageOverlay::Client::copyAccessibilityAttributeNames):

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

Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/WebPage/PageOverlay.h

index a174bf73b74fc572ace48719b3b363ec57acd231..f4927d5aaed63ec6d1f622b0c7ea7e5c04220a3e 100644 (file)
@@ -1,3 +1,17 @@
+2013-08-28  Ábrahám Gábor  <abrhm@inf.u-szeged.hu>
+
+        Fix unused variable warning.
+        https://bugs.webkit.org/show_bug.cgi?id=120396
+
+        Reviewed by Allan Sandfeld Jensen.
+
+        Fix unused variable compiler warning in PageOverlay.h
+
+        * WebProcess/WebPage/PageOverlay.h:
+        (WebKit::PageOverlay::Client::copyAccessibilityAttributeValue):
+        (WebKit::PageOverlay::Client::copyAccessibilityAttributeNames):
+
+
 2013-08-28  Zan Dobersek  <zdobersek@igalia.com>
 
         [GTK][WK2] Only set up a RedirectedXCompositeWindow if running under an X11 display
index 54241fdfa2e77e548a86562a04c9809e385be347..896f12675818557e69520b36a9fb432a07da5889 100644 (file)
@@ -55,8 +55,8 @@ public:
         virtual void drawRect(PageOverlay*, WebCore::GraphicsContext&, const WebCore::IntRect& dirtyRect) = 0;
         virtual bool mouseEvent(PageOverlay*, const WebMouseEvent&) = 0;
 
-        virtual WKTypeRef copyAccessibilityAttributeValue(PageOverlay*, WKStringRef attribute, WKTypeRef parameter) { return 0; }
-        virtual WKArrayRef copyAccessibilityAttributeNames(PageOverlay*, bool parameterizedNames) { return 0; }
+        virtual WKTypeRef copyAccessibilityAttributeValue(PageOverlay*, WKStringRef /* attribute */, WKTypeRef /* parameter */) { return 0; }
+        virtual WKArrayRef copyAccessibilityAttributeNames(PageOverlay*, bool /* parameterizedNames */) { return 0; }
     };
 
     static PassRefPtr<PageOverlay> create(Client*);