Bug 687744 and bug 573078 - Make buffer allocations in the HTML parser fallible; deal with allocation failures; reuse the buffers of strings passed to the parser. r=Olli.Pettay.
This commit is contained in:
@@ -58,15 +58,6 @@
|
||||
|
||||
#include "nsHtml5UTF16Buffer.h"
|
||||
|
||||
|
||||
nsHtml5UTF16Buffer::nsHtml5UTF16Buffer(PRUnichar* buffer, PRInt32 start, PRInt32 end)
|
||||
: buffer(buffer),
|
||||
start(start),
|
||||
end(end)
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsHtml5UTF16Buffer);
|
||||
}
|
||||
|
||||
PRInt32
|
||||
nsHtml5UTF16Buffer::getStart()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user