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