2008-10-06 Maciej Stachowiak <mjs@apple.com>
authormjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Oct 2008 18:19:20 +0000 (18:19 +0000)
committermjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Oct 2008 18:19:20 +0000 (18:19 +0000)
        Not reviewed.

        - fix build; toBoolean no longer takes an ExecState

        * JSUtils.cpp:
        (KJSValueToCFTypeInternal):

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

JavaScriptGlue/ChangeLog
JavaScriptGlue/JSUtils.cpp

index 39caf07..4487a93 100644 (file)
@@ -1,3 +1,12 @@
+2008-10-06  Maciej Stachowiak  <mjs@apple.com>
+
+        Not reviewed.
+        
+        - fix build; toBoolean no longer takes an ExecState
+
+        * JSUtils.cpp:
+        (KJSValueToCFTypeInternal):
+
 2008-10-04  Mark Rowe  <mrowe@apple.com>
 
         Reviewed by Tim Hatcher.
index 59b6ca0..9853e70 100644 (file)
@@ -207,7 +207,7 @@ CFTypeRef KJSValueToCFTypeInternal(JSValue *inValue, ExecState *exec, ObjectImpL
 
         if (inValue->isBoolean())
             {
-                result = inValue->toBoolean(exec) ? kCFBooleanTrue : kCFBooleanFalse;
+                result = inValue->toBoolean() ? kCFBooleanTrue : kCFBooleanFalse;
                 RetainCFType(result);
                 return result;
             }