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