Пример #1
0
void HTMLImportLoader::dataReceived(Resource*, const char* data, int length)
{
    RefPtr<DocumentWriter> protectingWriter(m_writer);
    m_writer->addData(data, length);
}
void HTMLImportLoader::dataReceived(Resource*, const char* data, size_t length)
{
    RefPtrWillBeRawPtr<DocumentWriter> protectingWriter(m_writer.get());
    m_writer->addData(data, length);
}