зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1305422 - part 13 - don't call size_forward in nsXMLContentSerializer.cpp; r=baku
This commit is contained in:
Родитель
9a5274a7ca
Коммит
a0a85b8519
|
@ -1244,7 +1244,7 @@ nsXMLContentSerializer::AppendAndTranslateEntities(const nsAString& aStr,
|
|||
for (aStr.BeginReading(iter);
|
||||
iter != done_reading;
|
||||
iter.advance(int32_t(advanceLength))) {
|
||||
uint32_t fragmentLength = iter.size_forward();
|
||||
uint32_t fragmentLength = done_reading - iter;
|
||||
const char16_t* c = iter.get();
|
||||
const char16_t* fragmentStart = c;
|
||||
const char16_t* fragmentEnd = c + fragmentLength;
|
||||
|
|
Загрузка…
Ссылка в новой задаче