Commit 7ff09a42 authored by hausmann@webkit.org's avatar hausmann@webkit.org
Browse files

2008-10-23 Simon Hausmann <hausmann@webkit.org>

        Fix the Qt build.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37808 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 63eed842
2008-10-23 Simon Hausmann <hausmann@webkit.org>
Fix the Qt build.
* bridge/qt/qt_runtime.cpp:
(JSC::Bindings::QtConnectionObject::execute):
* bridge/qt/qt_runtime.h:
(JSC::Bindings::QtRuntimeMethod::createStructureID):
2008-10-23 Alexey Proskuryakov <ap@webkit.org>
 
Reviewed by Maciej Stachowiak.
......
......@@ -1643,7 +1643,7 @@ void QtConnectionObject::execute(void **argv)
JSFunction* fimp = static_cast<JSFunction*>(m_funcObject.get());
JSObject* qt_sender = Instance::createRuntimeObject(exec, QtInstance::getQtInstance(sender(), ro));
JSObject* wrapper = new (exec) JSObject(exec->globalData().nullProtoStructureID);
JSObject* wrapper = new (exec) JSObject(JSObject::createStructureID(jsNull()));
PutPropertySlot slot;
wrapper->put(exec, Identifier(exec, "__qt_sender__"), qt_sender, slot);
ScopeChain oldsc = fimp->scope();
......
......@@ -151,7 +151,7 @@ public:
static PassRefPtr<StructureID> createStructureID(JSValuePtr prototype)
{
return StructureID::create(proto, TypeInfo(ObjectType));
return StructureID::create(prototype, TypeInfo(ObjectType));
}
protected:
......
Supports Markdown
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