Commit 660029e3 authored by zack's avatar zack
Browse files

Fix the Qt build


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@22067 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 8837400f
2007-06-08 Zack Rusin <zrusin@trolltech.com>
Fix the Qt build
* bindings/qt/qt_instance.cpp:
(KJS::Bindings::QtInstance::QtInstance):
* bindings/qt/qt_instance.h:
2007-06-07 Anders Carlsson <andersca@apple.com>
 
Reviewed by Geoff.
......
......@@ -30,12 +30,11 @@
namespace KJS {
namespace Bindings {
QtInstance::QtInstance(QObject* o)
: Instance(),
QtInstance::QtInstance(QObject* o, PassRefPtr<RootObject> rootObject)
: Instance(rootObject),
_class(0),
_object(o)
{
setRootObject(0);
}
QtInstance::~QtInstance()
......@@ -43,9 +42,8 @@ QtInstance::~QtInstance()
}
QtInstance::QtInstance(const QtInstance& other)
: Instance(), _class(0), _object(other._object)
: Instance(other.rootObject()), _class(0), _object(other._object)
{
setRootObject(other.rootObject());
}
QtInstance& QtInstance::operator=(const QtInstance& other)
......
......@@ -35,7 +35,7 @@ class QtClass;
class QtInstance : public Instance
{
public:
QtInstance(QObject* instance);
QtInstance(QObject* instance, PassRefPtr<RootObject>);
~QtInstance ();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment