Bug 502176 bustage fix - Restore the refcount tracing code to nsHtml5Tokenizer. a=orange.

This commit is contained in:
Henri Sivonen 2010-11-10 12:03:48 +02:00
Родитель 85432fd75b
Коммит ad46c1b368
3 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@ -6914,6 +6914,10 @@ public class Tokenizer implements Locator {
this.encodingDeclarationHandler = encodingDeclarationHandler;
}
void destructor() {
// The translator will write refcount tracing stuff here
}
// [NOCPP[
/**

Просмотреть файл

@ -3880,6 +3880,12 @@ nsHtml5Tokenizer::setEncodingDeclarationHandler(nsHtml5StreamParser* encodingDec
this->encodingDeclarationHandler = encodingDeclarationHandler;
}
nsHtml5Tokenizer::~nsHtml5Tokenizer()
{
MOZ_COUNT_DTOR(nsHtml5Tokenizer);
}
void
nsHtml5Tokenizer::initializeStatics()
{

Просмотреть файл

@ -287,6 +287,7 @@ class nsHtml5Tokenizer
void loadState(nsHtml5Tokenizer* other);
void initializeWithoutStarting();
void setEncodingDeclarationHandler(nsHtml5StreamParser* encodingDeclarationHandler);
~nsHtml5Tokenizer();
static void initializeStatics();
static void releaseStatics();
};