зеркало из https://github.com/mozilla/gecko-dev.git
Bug 502176 bustage fix - Restore the refcount tracing code to nsHtml5Tokenizer. a=orange.
This commit is contained in:
Родитель
85432fd75b
Коммит
ad46c1b368
|
@ -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();
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче