2009-03-17 Darin Adler <darin@apple.com>
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Mar 2009 18:26:06 +0000 (18:26 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Mar 2009 18:26:06 +0000 (18:26 +0000)
        * inspector/ConsoleMessage.cpp:
        (WebCore::ConsoleMessage::isEqual): Fix build, remove stray parenthesis.

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

WebCore/ChangeLog
WebCore/inspector/ConsoleMessage.cpp

index 9ca75d6..cd76052 100644 (file)
@@ -1,5 +1,10 @@
 2009-03-17  Darin Adler  <darin@apple.com>
 
+        * inspector/ConsoleMessage.cpp:
+        (WebCore::ConsoleMessage::isEqual): Fix build, remove stray parenthesis.
+
+2009-03-17  Darin Adler  <darin@apple.com>
+
         Fix crash seen right away when running run-webkit-tests.
 
         * inspector/ConsoleMessage.cpp:
index cd17eb2..b2bf390 100644 (file)
@@ -108,7 +108,7 @@ bool ConsoleMessage::isEqual(ScriptState* state, ConsoleMessage* msg) const
 {
     if (msg->m_wrappedArguments.size() != m_wrappedArguments.size())
         return false;
-    if (!state && msg->m_wrappedArguments.size()))
+    if (!state && msg->m_wrappedArguments.size())
         return false;
 
     ASSERT_ARG(state, state || msg->m_wrappedArguments.isEmpty());