コード例 #1
0
static v8::Handle<v8::Value> yAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
{
    INC_STATS("DOM.SVGFESpotLightElement.y._get");
    SVGFESpotLightElement* imp = V8SVGFESpotLightElement::toNative(info.Holder());
    SVGElement* context = imp;
    PassRefPtr<SVGAnimatedNumber> resultAsPassRefPtr = V8Proxy::withSVGContext(imp->yAnimated(), context);
    return toV8(resultAsPassRefPtr);
}
static v8::Handle<v8::Value> yAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
{
    SVGFESpotLightElement* imp = V8SVGFESpotLightElement::toNative(info.Holder());
    return toV8Fast(imp->yAnimated(), info, imp);
}