Source/WebKit/mg/control/MDWebFrame.cpp
Frame* core(const MDWebFrame* webFrame)
{
    if (!webFrame)
        return 0;
    return const_cast<MDWebFrame*>(webFrame)->impl();
}
// This function is not in WebFrame.h because we don't want to advertise the ability to get a non-const Frame from a const WebFrame
This function is not in WebFrame.h because we don't want to advertise the ability to get a non-const Frame from a const WebFrame
This function is not in WebFrame . h because we don ' t want to advertise the ability to get a non - const Frame from a const WebFrame
Frame* core(const MDWebFrame* webFrame)
{
    if (!webFrame)
        return 0;
    return const_cast<MDWebFrame*>(webFrame)->impl();
}
Frame * core ( const MDWebFrame * webFrame ) { if ( ! webFrame ) return 0 ; return const_cast < MDWebFrame * > ( webFrame ) -> impl ( ) ; }
This function is not in WebFrame.h because we don't want to advertise the ability to get a non-const Frame from a const WebFrame
This function is not in WebFrame . h because we don ' t want to advertise the ability to get a non - const Frame from a const WebFrame