зеркало из https://github.com/mozilla/pjs.git
Bug 502260 - Check mFlushTimer for null in nsHtml5TreeBuilder::DoUnlink. r=mrbkap
This commit is contained in:
Родитель
427743513f
Коммит
96c85a4c04
|
@ -505,7 +505,9 @@ void
|
|||
nsHtml5TreeBuilder::DoUnlink()
|
||||
{
|
||||
nsHtml5TreeBuilder* tmp = this;
|
||||
mFlushTimer->Cancel();
|
||||
if (mFlushTimer) {
|
||||
mFlushTimer->Cancel();
|
||||
}
|
||||
NS_IMPL_CYCLE_COLLECTION_UNLINK_NSCOMPTR(mFlushTimer);
|
||||
NS_IF_RELEASE(contextNode);
|
||||
NS_IF_RELEASE(formPointer);
|
||||
|
|
Загрузка…
Ссылка в новой задаче