2009-01-14 Darin Adler <darin@apple.com>
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Jan 2009 02:30:48 +0000 (02:30 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Jan 2009 02:30:48 +0000 (02:30 +0000)
        Fix debug build.

        * bindings/js/JSWebKitCSSMatrixConstructor.cpp:
        (WebCore::JSWebKitCSSMatrixConstructor::JSWebKitCSSMatrixConstructor):
        Use ASSERT_UNUSED.

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

WebCore/ChangeLog
WebCore/bindings/js/JSWebKitCSSMatrixConstructor.cpp

index 0966bf5..088f172 100644 (file)
@@ -1,3 +1,11 @@
+2009-01-14  Darin Adler  <darin@apple.com>
+
+        Fix debug build.
+
+        * bindings/js/JSWebKitCSSMatrixConstructor.cpp:
+        (WebCore::JSWebKitCSSMatrixConstructor::JSWebKitCSSMatrixConstructor):
+        Use ASSERT_UNUSED.
+
 2009-01-14  Adele Peterson  <adele@apple.com>
 
         Reviewed by Darin Adler.
index fa3b034..dd1ec36 100644 (file)
@@ -35,10 +35,10 @@ namespace WebCore {
 
 const ClassInfo JSWebKitCSSMatrixConstructor::s_info = { "WebKitCSSMatrixConstructor", 0, 0, 0 };
 
-JSWebKitCSSMatrixConstructor::JSWebKitCSSMatrixConstructor(ExecState* exec, ScriptExecutionContext*)
+JSWebKitCSSMatrixConstructor::JSWebKitCSSMatrixConstructor(ExecState* exec, ScriptExecutionContext* context)
     : DOMObject(JSWebKitCSSMatrixConstructor::createStructure(exec->lexicalGlobalObject()->objectPrototype()))
 {
-    ASSERT(context->isDocument());
+    ASSERT_UNUSED(context, context->isDocument());
     putDirect(exec->propertyNames().length, jsNumber(exec, 1), ReadOnly|DontDelete|DontEnum);
 }