diff options
author | Jocelyn Turcotte <jocelyn.turcotte@nokia.com> | 2010-04-06 12:36:47 +0200 |
---|---|---|
committer | Jocelyn Turcotte <jocelyn.turcotte@nokia.com> | 2010-04-06 12:36:47 +0200 |
commit | bb35b65bbfba82e0dd0ac306d3dab54436cdaff6 (patch) | |
tree | 8174cb262a960ff7b2e4aa8f1aaf154db71d2636 /src/3rdparty/webkit/WebCore/generated/JSHTMLTableSectionElement.cpp | |
parent | 4b27d0d887269583a0f76e922948f8c25e96ab88 (diff) | |
download | qt4-tools-bb35b65bbfba82e0dd0ac306d3dab54436cdaff6.tar.gz |
Update src/3rdparty/webkit from trunk.
Imported from 839d8709327f925aacb3b6362c06152594def97e
in branch qtwebkit-2.0 of repository
git://gitorious.org/+qtwebkit-developers/webkit/qtwebkit.git
Rubber-stamped-by: Simon Hausmann
Diffstat (limited to 'src/3rdparty/webkit/WebCore/generated/JSHTMLTableSectionElement.cpp')
-rw-r--r-- | src/3rdparty/webkit/WebCore/generated/JSHTMLTableSectionElement.cpp | 69 |
1 files changed, 39 insertions, 30 deletions
diff --git a/src/3rdparty/webkit/WebCore/generated/JSHTMLTableSectionElement.cpp b/src/3rdparty/webkit/WebCore/generated/JSHTMLTableSectionElement.cpp index b00b883d91..04a1c9ade3 100644 --- a/src/3rdparty/webkit/WebCore/generated/JSHTMLTableSectionElement.cpp +++ b/src/3rdparty/webkit/WebCore/generated/JSHTMLTableSectionElement.cpp @@ -41,12 +41,12 @@ ASSERT_CLASS_FITS_IN_CELL(JSHTMLTableSectionElement); static const HashTableValue JSHTMLTableSectionElementTableValues[7] = { - { "align", DontDelete, (intptr_t)jsHTMLTableSectionElementAlign, (intptr_t)setJSHTMLTableSectionElementAlign }, - { "ch", DontDelete, (intptr_t)jsHTMLTableSectionElementCh, (intptr_t)setJSHTMLTableSectionElementCh }, - { "chOff", DontDelete, (intptr_t)jsHTMLTableSectionElementChOff, (intptr_t)setJSHTMLTableSectionElementChOff }, - { "vAlign", DontDelete, (intptr_t)jsHTMLTableSectionElementVAlign, (intptr_t)setJSHTMLTableSectionElementVAlign }, - { "rows", DontDelete|ReadOnly, (intptr_t)jsHTMLTableSectionElementRows, (intptr_t)0 }, - { "constructor", DontEnum|ReadOnly, (intptr_t)jsHTMLTableSectionElementConstructor, (intptr_t)0 }, + { "align", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLTableSectionElementAlign), (intptr_t)setJSHTMLTableSectionElementAlign }, + { "ch", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLTableSectionElementCh), (intptr_t)setJSHTMLTableSectionElementCh }, + { "chOff", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLTableSectionElementChOff), (intptr_t)setJSHTMLTableSectionElementChOff }, + { "vAlign", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLTableSectionElementVAlign), (intptr_t)setJSHTMLTableSectionElementVAlign }, + { "rows", DontDelete|ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLTableSectionElementRows), (intptr_t)0 }, + { "constructor", DontEnum|ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLTableSectionElementConstructor), (intptr_t)0 }, { 0, 0, 0, 0 } }; @@ -85,7 +85,7 @@ public: static PassRefPtr<Structure> createStructure(JSValue proto) { - return Structure::create(proto, TypeInfo(ObjectType, StructureFlags)); + return Structure::create(proto, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount); } protected: @@ -108,8 +108,8 @@ bool JSHTMLTableSectionElementConstructor::getOwnPropertyDescriptor(ExecState* e static const HashTableValue JSHTMLTableSectionElementPrototypeTableValues[3] = { - { "insertRow", DontDelete|Function, (intptr_t)jsHTMLTableSectionElementPrototypeFunctionInsertRow, (intptr_t)1 }, - { "deleteRow", DontDelete|Function, (intptr_t)jsHTMLTableSectionElementPrototypeFunctionDeleteRow, (intptr_t)1 }, + { "insertRow", DontDelete|Function, (intptr_t)static_cast<NativeFunction>(jsHTMLTableSectionElementPrototypeFunctionInsertRow), (intptr_t)1 }, + { "deleteRow", DontDelete|Function, (intptr_t)static_cast<NativeFunction>(jsHTMLTableSectionElementPrototypeFunctionDeleteRow), (intptr_t)1 }, { 0, 0, 0, 0 } }; @@ -159,49 +159,54 @@ bool JSHTMLTableSectionElement::getOwnPropertyDescriptor(ExecState* exec, const return getStaticValueDescriptor<JSHTMLTableSectionElement, Base>(exec, &JSHTMLTableSectionElementTable, this, propertyName, descriptor); } -JSValue jsHTMLTableSectionElementAlign(ExecState* exec, const Identifier&, const PropertySlot& slot) +JSValue jsHTMLTableSectionElementAlign(ExecState* exec, JSValue slotBase, const Identifier&) { - JSHTMLTableSectionElement* castedThis = static_cast<JSHTMLTableSectionElement*>(asObject(slot.slotBase())); + JSHTMLTableSectionElement* castedThis = static_cast<JSHTMLTableSectionElement*>(asObject(slotBase)); UNUSED_PARAM(exec); HTMLTableSectionElement* imp = static_cast<HTMLTableSectionElement*>(castedThis->impl()); - return jsString(exec, imp->align()); + JSValue result = jsString(exec, imp->align()); + return result; } -JSValue jsHTMLTableSectionElementCh(ExecState* exec, const Identifier&, const PropertySlot& slot) +JSValue jsHTMLTableSectionElementCh(ExecState* exec, JSValue slotBase, const Identifier&) { - JSHTMLTableSectionElement* castedThis = static_cast<JSHTMLTableSectionElement*>(asObject(slot.slotBase())); + JSHTMLTableSectionElement* castedThis = static_cast<JSHTMLTableSectionElement*>(asObject(slotBase)); UNUSED_PARAM(exec); HTMLTableSectionElement* imp = static_cast<HTMLTableSectionElement*>(castedThis->impl()); - return jsString(exec, imp->ch()); + JSValue result = jsString(exec, imp->ch()); + return result; } -JSValue jsHTMLTableSectionElementChOff(ExecState* exec, const Identifier&, const PropertySlot& slot) +JSValue jsHTMLTableSectionElementChOff(ExecState* exec, JSValue slotBase, const Identifier&) { - JSHTMLTableSectionElement* castedThis = static_cast<JSHTMLTableSectionElement*>(asObject(slot.slotBase())); + JSHTMLTableSectionElement* castedThis = static_cast<JSHTMLTableSectionElement*>(asObject(slotBase)); UNUSED_PARAM(exec); HTMLTableSectionElement* imp = static_cast<HTMLTableSectionElement*>(castedThis->impl()); - return jsString(exec, imp->chOff()); + JSValue result = jsString(exec, imp->chOff()); + return result; } -JSValue jsHTMLTableSectionElementVAlign(ExecState* exec, const Identifier&, const PropertySlot& slot) +JSValue jsHTMLTableSectionElementVAlign(ExecState* exec, JSValue slotBase, const Identifier&) { - JSHTMLTableSectionElement* castedThis = static_cast<JSHTMLTableSectionElement*>(asObject(slot.slotBase())); + JSHTMLTableSectionElement* castedThis = static_cast<JSHTMLTableSectionElement*>(asObject(slotBase)); UNUSED_PARAM(exec); HTMLTableSectionElement* imp = static_cast<HTMLTableSectionElement*>(castedThis->impl()); - return jsString(exec, imp->vAlign()); + JSValue result = jsString(exec, imp->vAlign()); + return result; } -JSValue jsHTMLTableSectionElementRows(ExecState* exec, const Identifier&, const PropertySlot& slot) +JSValue jsHTMLTableSectionElementRows(ExecState* exec, JSValue slotBase, const Identifier&) { - JSHTMLTableSectionElement* castedThis = static_cast<JSHTMLTableSectionElement*>(asObject(slot.slotBase())); + JSHTMLTableSectionElement* castedThis = static_cast<JSHTMLTableSectionElement*>(asObject(slotBase)); UNUSED_PARAM(exec); HTMLTableSectionElement* imp = static_cast<HTMLTableSectionElement*>(castedThis->impl()); - return toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->rows())); + JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->rows())); + return result; } -JSValue jsHTMLTableSectionElementConstructor(ExecState* exec, const Identifier&, const PropertySlot& slot) +JSValue jsHTMLTableSectionElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { - JSHTMLTableSectionElement* domObject = static_cast<JSHTMLTableSectionElement*>(asObject(slot.slotBase())); + JSHTMLTableSectionElement* domObject = static_cast<JSHTMLTableSectionElement*>(asObject(slotBase)); return JSHTMLTableSectionElement::getConstructor(exec, domObject->globalObject()); } void JSHTMLTableSectionElement::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot) @@ -211,25 +216,29 @@ void JSHTMLTableSectionElement::put(ExecState* exec, const Identifier& propertyN void setJSHTMLTableSectionElementAlign(ExecState* exec, JSObject* thisObject, JSValue value) { - HTMLTableSectionElement* imp = static_cast<HTMLTableSectionElement*>(static_cast<JSHTMLTableSectionElement*>(thisObject)->impl()); + JSHTMLTableSectionElement* castedThisObj = static_cast<JSHTMLTableSectionElement*>(thisObject); + HTMLTableSectionElement* imp = static_cast<HTMLTableSectionElement*>(castedThisObj->impl()); imp->setAlign(valueToStringWithNullCheck(exec, value)); } void setJSHTMLTableSectionElementCh(ExecState* exec, JSObject* thisObject, JSValue value) { - HTMLTableSectionElement* imp = static_cast<HTMLTableSectionElement*>(static_cast<JSHTMLTableSectionElement*>(thisObject)->impl()); + JSHTMLTableSectionElement* castedThisObj = static_cast<JSHTMLTableSectionElement*>(thisObject); + HTMLTableSectionElement* imp = static_cast<HTMLTableSectionElement*>(castedThisObj->impl()); imp->setCh(valueToStringWithNullCheck(exec, value)); } void setJSHTMLTableSectionElementChOff(ExecState* exec, JSObject* thisObject, JSValue value) { - HTMLTableSectionElement* imp = static_cast<HTMLTableSectionElement*>(static_cast<JSHTMLTableSectionElement*>(thisObject)->impl()); + JSHTMLTableSectionElement* castedThisObj = static_cast<JSHTMLTableSectionElement*>(thisObject); + HTMLTableSectionElement* imp = static_cast<HTMLTableSectionElement*>(castedThisObj->impl()); imp->setChOff(valueToStringWithNullCheck(exec, value)); } void setJSHTMLTableSectionElementVAlign(ExecState* exec, JSObject* thisObject, JSValue value) { - HTMLTableSectionElement* imp = static_cast<HTMLTableSectionElement*>(static_cast<JSHTMLTableSectionElement*>(thisObject)->impl()); + JSHTMLTableSectionElement* castedThisObj = static_cast<JSHTMLTableSectionElement*>(thisObject); + HTMLTableSectionElement* imp = static_cast<HTMLTableSectionElement*>(castedThisObj->impl()); imp->setVAlign(valueToStringWithNullCheck(exec, value)); } |