static void multipleAttrSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info) { INC_STATS("DOM.HTMLSelectElement.multiple._set"); HTMLSelectElement* imp = V8HTMLSelectElement::toNative(info.Holder()); bool v = value->BooleanValue(); imp->setMultiple(v); return; }
void setJSHTMLSelectElementMultiple(ExecState* exec, JSObject* thisObject, JSValue value) { JSHTMLSelectElement* castedThis = static_cast<JSHTMLSelectElement*>(thisObject); HTMLSelectElement* imp = static_cast<HTMLSelectElement*>(castedThis->impl()); imp->setMultiple(value.toBoolean(exec)); }