Title: [169152] trunk/Source/WebKit2
Revision
169152
Author
commit-qu...@webkit.org
Date
2014-05-21 01:12:50 -0700 (Wed, 21 May 2014)

Log Message

[WebKit2] Cleanup the build from unused variable in WebProcess module
https://bugs.webkit.org/show_bug.cgi?id=133062

Patch by Shivakumar JM <shiva...@samsung.com> on 2014-05-21
Reviewed by Csaba Osztrogonác.

Fix unused parameter by using UNUSED_PARAM macro

* WebProcess/UserContent/WebUserContentController.cpp:
(WebKit::WebUserContentController::addUserScriptMessageHandlers):
(WebKit::WebUserContentController::removeUserScriptMessageHandler):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (169151 => 169152)


--- trunk/Source/WebKit2/ChangeLog	2014-05-21 06:55:02 UTC (rev 169151)
+++ trunk/Source/WebKit2/ChangeLog	2014-05-21 08:12:50 UTC (rev 169152)
@@ -1,3 +1,16 @@
+2014-05-21  Shivakumar JM  <shiva...@samsung.com>
+
+        [WebKit2] Cleanup the build from unused variable in WebProcess module
+        https://bugs.webkit.org/show_bug.cgi?id=133062
+
+        Reviewed by Csaba Osztrogonác.
+
+        Fix unused parameter by using UNUSED_PARAM macro
+
+        * WebProcess/UserContent/WebUserContentController.cpp:
+        (WebKit::WebUserContentController::addUserScriptMessageHandlers):
+        (WebKit::WebUserContentController::removeUserScriptMessageHandler):
+
 2014-05-20  Enrica Casucci  <enr...@apple.com>
 
         REGRESSION (WK2): Tapping on the input field in duckduckgo.com shows the keyboard but not the caret.

Modified: trunk/Source/WebKit2/WebProcess/UserContent/WebUserContentController.cpp (169151 => 169152)


--- trunk/Source/WebKit2/WebProcess/UserContent/WebUserContentController.cpp	2014-05-21 06:55:02 UTC (rev 169151)
+++ trunk/Source/WebKit2/WebProcess/UserContent/WebUserContentController.cpp	2014-05-21 08:12:50 UTC (rev 169152)
@@ -148,6 +148,8 @@
         m_userMessageHandlerDescriptors.add(descriptor->identifier(), descriptor);
         m_userContentController->addUserMessageHandlerDescriptor(descriptor->descriptor());
     }
+#else
+    UNUSED_PARAM(scriptMessageHandlers);
 #endif
 }
 
@@ -159,6 +161,8 @@
     
     m_userContentController->removeUserMessageHandlerDescriptor(it->value->descriptor());
     m_userMessageHandlerDescriptors.remove(it);
+#else
+    UNUSED_PARAM(identifier);
 #endif
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to