Bug 696651 part 2 - Establish document.write() insertion position before re-entrant calls can occur. r=Olli.Pettay.

This commit is contained in:
Henri Sivonen
2011-10-29 23:14:31 +03:00
parent cefb23cce7
commit b38e71e9fd
5 changed files with 138 additions and 56 deletions

View File

@@ -77,6 +77,13 @@ nsHtml5OwningUTF16Buffer::FalliblyCreate(PRInt32 aLength)
return newObj.forget();
}
void
nsHtml5OwningUTF16Buffer::Swap(nsHtml5OwningUTF16Buffer* aOther)
{
nsHtml5UTF16Buffer::Swap(aOther);
}
// Not using macros for AddRef and Release in order to be able to refcount on
// and create on different threads.