webengine/osswebengine/WebCore/loader/TextResourceDecoder.cpp
changeset 5 10e98eab6f85
parent 0 dd21522fd290
equal deleted inserted replaced
1:7c90e6132015 5:10e98eab6f85
   277 {
   277 {
   278 }
   278 }
   279 
   279 
   280 TextResourceDecoder::~TextResourceDecoder()
   280 TextResourceDecoder::~TextResourceDecoder()
   281 {
   281 {
       
   282     m_buffer.clear();
   282 }
   283 }
   283 
   284 
   284 void TextResourceDecoder::setEncoding(const TextEncoding& encoding, EncodingSource source)
   285 void TextResourceDecoder::setEncoding(const TextEncoding& encoding, EncodingSource source)
   285 {
   286 {
   286     // In case the encoding didn't exist, we keep the old one (helps some sites specifying invalid encodings).
   287     // In case the encoding didn't exist, we keep the old one (helps some sites specifying invalid encodings).