Hi guys,
As in WebKit-r60027\WebCore\loader\DocumentWriter.cpp Line 131: void
DocumentWriter::addData(const char* str, int len, bool flush) function:
#################
...
Tokenizer* tokenizer = m_frame->document()->tokenizer();
if (tokenizer && tokenizer->wantsRawData()) {
if (len > 0)
tokenizer->writeRawData(str, len);
return;
}
...
#################
Here how the base class pointer tokenizer resolved to calling
class Tokenizer children's writeRawData function, for example: just
calling PluginTokenizer::writeRawData but not
the MediaTokenizer::writeRawData one.
Where does the program make tokenizer to point to the PluginTokenizer
object?
Thanks,
--
Tony Weng
_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help