Build fix.
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Nov 2007 23:00:26 +0000 (23:00 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Nov 2007 23:00:26 +0000 (23:00 +0000)
        * JSUtils.cpp:
        (KJSValueToCFTypeInternal):
        * JSValueWrapper.cpp:
        (JSValueWrapper::JSObjectCopyPropertyNames):

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

JavaScriptGlue/ChangeLog
JavaScriptGlue/JSUtils.cpp
JavaScriptGlue/JSValueWrapper.cpp

index c89c309..65e4a69 100644 (file)
@@ -1,3 +1,12 @@
+2007-11-27  Anders Carlsson  <andersca@apple.com>
+        
+        Build fix.
+        
+        * JSUtils.cpp:
+        (KJSValueToCFTypeInternal):
+        * JSValueWrapper.cpp:
+        (JSValueWrapper::JSObjectCopyPropertyNames):
+
 2007-11-21  Mark Rowe  <mrowe@apple.com>
 
         Reviewed by Eric.
index 53af505..88241a5 100644 (file)
@@ -277,8 +277,8 @@ CFTypeRef KJSValueToCFTypeInternal(JSValue *inValue, ExecState *exec, ObjectImpL
                         if (intrepreter && (intrepreter->Flags() & kJSFlagConvertAssociativeArray)) {
                             PropertyNameArray propNames;
                             object->getPropertyNames(exec, propNames);
-                            PropertyNameArrayIterator iter = propNames.begin();
-                            PropertyNameArrayIterator end = propNames.end();
+                            PropertyNameArray::const_iterator iter = propNames.begin();
+                            PropertyNameArray::const_iterator end = propNames.end();
                             while(iter != end && isArray)
                             {
                                 Identifier propName = *iter;
@@ -323,8 +323,8 @@ CFTypeRef KJSValueToCFTypeInternal(JSValue *inValue, ExecState *exec, ObjectImpL
                                                                &kCFTypeDictionaryValueCallBacks);
                             if (result)
                             {
-                                PropertyNameArrayIterator iter = propNames.begin();
-                                PropertyNameArrayIterator end = propNames.end();
+                                PropertyNameArray::const_iterator iter = propNames.begin();
+                                PropertyNameArray::const_iterator end = propNames.end();
                                 while(iter != end)
                                 {
                                     Identifier propName = *iter;
index 9f8fa3e..a101c8c 100644 (file)
@@ -120,7 +120,7 @@ CFArrayRef JSValueWrapper::JSObjectCopyPropertyNames(void *data)
         JSObject *object = ptr->GetValue()->toObject(exec);
         PropertyNameArray propNames;
         object->getPropertyNames(exec, propNames);
-        PropertyNameArrayIterator iterator = propNames.begin();
+        PropertyNameArray::const_iterator iterator = propNames.begin();
 
         while (iterator != propNames.end()) {
             Identifier name = *iterator;