2008-08-17 Cameron Zwarich <cwzwarich@uwaterloo.ca>
authorcwzwarich@webkit.org <cwzwarich@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 17 Aug 2008 21:34:46 +0000 (21:34 +0000)
committercwzwarich@webkit.org <cwzwarich@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 17 Aug 2008 21:34:46 +0000 (21:34 +0000)
        Not reviewed.

        Speculative Qt build fix.

        * bridge/qt/qt_runtime.cpp:
        (KJS::Bindings::convertValueToQVariant):
        (KJS::Bindings::QtRuntimeMethod::QtRuntimeMethod):

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

WebCore/ChangeLog
WebCore/bridge/qt/qt_runtime.cpp

index 9d092c6..e14a291 100644 (file)
@@ -1,3 +1,13 @@
+2008-08-17  Cameron Zwarich  <cwzwarich@uwaterloo.ca>
+
+        Not reviewed.
+
+        Speculative Qt build fix.
+
+        * bridge/qt/qt_runtime.cpp:
+        (KJS::Bindings::convertValueToQVariant):
+        (KJS::Bindings::QtRuntimeMethod::QtRuntimeMethod):
+
 2008-08-17  Geoffrey Garen  <ggaren@apple.com>
 
         Reviewed by Cameron Zwarich.
index a37da20..2639f7a 100644 (file)
@@ -326,7 +326,7 @@ QVariant convertValueToQVariant(ExecState* exec, JSValue* value, QMetaType::Type
                 JSArray* array = static_cast<JSArray*>(object);
 
                 QVariantList result;
-                int len = array->getLength();
+                int len = array->length();
                 int objdist = 0;
                 qConvDebug() << "converting a " << len << " length Array";
                 for (int i = 0; i < len; ++i) {
@@ -376,7 +376,7 @@ QVariant convertValueToQVariant(ExecState* exec, JSValue* value, QMetaType::Type
                 JSArray* array = static_cast<JSArray*>(object);
 
                 QStringList result;
-                int len = array->getLength();
+                int len = array->length();
                 for (int i = 0; i < len; ++i) {
                     JSValue* val = array->get(exec, i);
                     UString ustring = val->toString(exec);
@@ -598,7 +598,7 @@ QVariant convertValueToQVariant(ExecState* exec, JSValue* value, QMetaType::Type
                     JSObject* object = value->toObject(exec);
                     JSArray* array = static_cast<JSArray *>(object);
                     QObjectList result;
-                    int len = array->getLength();
+                    int len = array->length();
                     for (int i = 0; i < len; ++i) {
                         JSValue* val = array->get(exec, i);
                         int itemdist = -1;
@@ -649,7 +649,7 @@ QVariant convertValueToQVariant(ExecState* exec, JSValue* value, QMetaType::Type
                     JSArray* array = static_cast<JSArray *>(object);
 
                     QList<int> result;
-                    int len = array->getLength();
+                    int len = array->length();
                     for (int i = 0; i < len; ++i) {
                         JSValue* val = array->get(exec, i);
                         int itemdist = -1;
@@ -848,7 +848,7 @@ JSValue* convertQVariantToValue(ExecState* exec, PassRefPtr<RootObject> root, co
 #define QW_DS(Class,Instance) Class##Data* d = Instance->d_func()
 
 QtRuntimeMethod::QtRuntimeMethod(QtRuntimeMethodData* dd, ExecState *exec, const Identifier &ident, PassRefPtr<QtInstance> inst)
-    : InternalFunction (static_cast<FunctionPrototype*>(exec->lexicalGlobalObject()->functionPrototype()), ident)
+    : InternalFunction (exec, static_cast<FunctionPrototype*>(exec->lexicalGlobalObject()->functionPrototype()), ident)
     , d_ptr(dd)
 {
     QW_D(QtRuntimeMethod);