static v8::Handle<v8::Value> elevationAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
{
    INC_STATS("DOM.SVGFEDistantLightElement.elevation._get");
    SVGFEDistantLightElement* imp = V8SVGFEDistantLightElement::toNative(info.Holder());
    SVGElement* context = imp;
    PassRefPtr<SVGAnimatedNumber> resultAsPassRefPtr = V8Proxy::withSVGContext(imp->elevationAnimated(), context);
    return toV8(resultAsPassRefPtr);
}
Esempio n. 2
0
static v8::Handle<v8::Value> elevationAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
{
    INC_STATS("DOM.SVGFEDistantLightElement.elevation._get");
    SVGFEDistantLightElement* imp = V8SVGFEDistantLightElement::toNative(info.Holder());
    return toV8(imp->elevationAnimated());
}