Exemplo n.º 1
0
v8::Handle<v8::Object> wrap(SVGElement* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
{
    ASSERT(impl);
    return createV8SVGWrapper(impl, creationContext, isolate);
}
v8::Handle<v8::Value> toV8(SVGElement* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
{
    if (!impl)
        return v8NullWithCheck(isolate);
    return createV8SVGWrapper(impl, creationContext, isolate);
}
v8::Handle<v8::Value> toV8(SVGElement* impl, bool forceNewObject)
{
    if (!impl)
        return v8::Null();
    return createV8SVGWrapper(impl, forceNewObject);
}