[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.0/kdelibs/khtml/ecma
From:       Harri Porten <porten () kde ! org>
Date:       2008-01-13 17:17:30
Message-ID: 1200244650.927738.29149.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 760904 by porten:

Fixed crash on call of an internal debugging function. 


 M  +2 -2      kjs_proxy.cpp  


--- branches/KDE/4.0/kdelibs/khtml/ecma/kjs_proxy.cpp #760903:760904
@@ -187,10 +187,10 @@
 public:
   TestFunctionImp() : JSObject() {}
   virtual bool implementsCall() const { return true; }
-  virtual JSValue *call(ExecState *exec, JSObject *thisObj, const List &args);
+  virtual JSValue *callAsFunction(ExecState *exec, JSObject *thisObj, const List &args);
 };
 
-JSValue *TestFunctionImp::call(ExecState *exec, JSObject * /*thisObj*/, const List &args)
+JSValue *TestFunctionImp::callAsFunction(ExecState *exec, JSObject * /*thisObj*/, const List &args)
 {
   fprintf(stderr,"--> %s\n",args[0]->toString(exec).ascii());
   return jsUndefined();
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic