static v8::Handle<v8::Value> styleAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) { INC_STATS("DOM.SVGSymbolElement.style._get"); SVGSymbolElement* imp = V8SVGSymbolElement::toNative(info.Holder()); return toV8(imp->style()); }
JSValue jsSVGSymbolElementStyle(ExecState* exec, const Identifier&, const PropertySlot& slot) { UNUSED_PARAM(exec); SVGSymbolElement* imp = static_cast<SVGSymbolElement*>(static_cast<JSSVGSymbolElement*>(asObject(slot.slotBase()))->impl()); return toJS(exec, WTF::getPtr(imp->style())); }