Ejemplo n.º 1
0
String WebFrame::counterValue(JSObjectRef element)
{
    if (!toJS(element)->inherits(&JSElement::s_info))
        return String();

    return counterValueForElement(static_cast<JSElement*>(toJS(element))->impl());
}
Ejemplo n.º 2
0
String WebFrame::counterValue(JSObjectRef element)
{
    if (!toJS(element)->inherits(JSElement::info()))
        return String();

    return counterValueForElement(&jsCast<JSElement*>(toJS(element))->impl());
}
Ejemplo n.º 3
0
String WebFrame::counterValue(JSObjectRef element)
{
#if 0 //CMP_ERROR_TODO InjectedBundle
    if (!m_coreFrame)
    if (!toJS(element)->inherits(JSElement::info()))
        return String();

    return counterValueForElement(&jsCast<JSElement*>(toJS(element))->impl());
#else
    return "";
#endif
}