2009-08-13 George Staikos <george.staikos@torchmobile.com>
authorstaikos@webkit.org <staikos@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 13 Aug 2009 18:32:49 +0000 (18:32 +0000)
committerstaikos@webkit.org <staikos@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 13 Aug 2009 18:32:49 +0000 (18:32 +0000)
        Rubberstamped by Darin Adler.

        Use ASSERT_UNUSED instead of UNUSED_PARAM

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

WebCore/ChangeLog
WebCore/wml/WMLAnchorElement.cpp
WebCore/wml/WMLDoElement.cpp

index 9df4aac..efd49e8 100644 (file)
@@ -1,3 +1,14 @@
+2009-08-13  George Staikos  <george.staikos@torchmobile.com>
+
+        Rubberstamped by Darin Adler.
+
+        Use ASSERT_UNUSED instead of UNUSED_PARAM
+
+        * wml/WMLAnchorElement.cpp:
+        (WebCore::WMLAnchorElement::deregisterTask):
+        * wml/WMLDoElement.cpp:
+        (WebCore::WMLDoElement::deregisterTask):
+
 2009-08-13  Steve Block  <steveblock@google.com>
 
         Reviewed by Darin Adler.
index 0f3b657..53048d9 100644 (file)
@@ -71,8 +71,7 @@ void WMLAnchorElement::registerTask(WMLTaskElement* task)
 
 void WMLAnchorElement::deregisterTask(WMLTaskElement* task)
 {
-    ASSERT(m_task == task);
-    UNUSED_PARAM(task);
+    ASSERT_UNUSED(task, m_task == task);
     m_task = 0;
 }
 
index f8ad9a0..2b7c475 100644 (file)
@@ -175,8 +175,7 @@ void WMLDoElement::registerTask(WMLTaskElement* task)
 
 void WMLDoElement::deregisterTask(WMLTaskElement* task)
 {
-    ASSERT(m_task == task);
-    UNUSED_PARAM(task);
+    ASSERT_UNUSED(task, m_task == task);
     m_task = 0;
 }