equal
deleted
inserted
replaced
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). |