static v8::Handle<v8::Value> edgeModeAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) { INC_STATS("DOM.SVGFEConvolveMatrixElement.edgeMode._get"); SVGFEConvolveMatrixElement* imp = V8SVGFEConvolveMatrixElement::toNative(info.Holder()); SVGElement* context = imp; PassRefPtr<SVGAnimatedEnumeration> resultAsPassRefPtr = V8Proxy::withSVGContext(imp->edgeModeAnimated(), context); return toV8(resultAsPassRefPtr); }
JSValue jsSVGFEConvolveMatrixElementEdgeMode(ExecState* exec, JSValue slotBase, const Identifier&) { JSSVGFEConvolveMatrixElement* castedThis = static_cast<JSSVGFEConvolveMatrixElement*>(asObject(slotBase)); UNUSED_PARAM(exec); SVGFEConvolveMatrixElement* imp = static_cast<SVGFEConvolveMatrixElement*>(castedThis->impl()); RefPtr<SVGAnimatedEnumeration> obj = imp->edgeModeAnimated(); JSValue result = toJS(exec, castedThis->globalObject(), obj.get()); return result; }