diff options
Diffstat (limited to 'src/3rdparty/webkit/WebCore/generated/JSHTMLOptionElement.cpp')
-rw-r--r-- | src/3rdparty/webkit/WebCore/generated/JSHTMLOptionElement.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/3rdparty/webkit/WebCore/generated/JSHTMLOptionElement.cpp b/src/3rdparty/webkit/WebCore/generated/JSHTMLOptionElement.cpp index 65d92e6..7966afb 100644 --- a/src/3rdparty/webkit/WebCore/generated/JSHTMLOptionElement.cpp +++ b/src/3rdparty/webkit/WebCore/generated/JSHTMLOptionElement.cpp @@ -80,6 +80,7 @@ public: putDirect(exec->propertyNames().prototype, JSHTMLOptionElementPrototype::self(exec, globalObject), None); } virtual bool getOwnPropertySlot(ExecState*, const Identifier&, PropertySlot&); + virtual bool getOwnPropertyDescriptor(ExecState*, const Identifier&, PropertyDescriptor&); virtual const ClassInfo* classInfo() const { return &s_info; } static const ClassInfo s_info; @@ -96,6 +97,11 @@ bool JSHTMLOptionElementConstructor::getOwnPropertySlot(ExecState* exec, const I return getStaticValueSlot<JSHTMLOptionElementConstructor, DOMObject>(exec, &JSHTMLOptionElementConstructorTable, this, propertyName, slot); } +bool JSHTMLOptionElementConstructor::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor) +{ + return getStaticValueDescriptor<JSHTMLOptionElementConstructor, DOMObject>(exec, &JSHTMLOptionElementConstructorTable, this, propertyName, descriptor); +} + /* Hash table for prototype */ static const HashTableValue JSHTMLOptionElementPrototypeTableValues[1] = @@ -134,6 +140,11 @@ bool JSHTMLOptionElement::getOwnPropertySlot(ExecState* exec, const Identifier& return getStaticValueSlot<JSHTMLOptionElement, Base>(exec, &JSHTMLOptionElementTable, this, propertyName, slot); } +bool JSHTMLOptionElement::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor) +{ + return getStaticValueDescriptor<JSHTMLOptionElement, Base>(exec, &JSHTMLOptionElementTable, this, propertyName, descriptor); +} + JSValue jsHTMLOptionElementForm(ExecState* exec, const Identifier&, const PropertySlot& slot) { JSHTMLOptionElement* castedThis = static_cast<JSHTMLOptionElement*>(asObject(slot.slotBase())); @@ -253,7 +264,7 @@ JSValue JSHTMLOptionElement::getConstructor(ExecState* exec, JSGlobalObject* glo HTMLOptionElement* toHTMLOptionElement(JSC::JSValue value) { - return value.isObject(&JSHTMLOptionElement::s_info) ? static_cast<JSHTMLOptionElement*>(asObject(value))->impl() : 0; + return value.inherits(&JSHTMLOptionElement::s_info) ? static_cast<JSHTMLOptionElement*>(asObject(value))->impl() : 0; } } |