diff --git a/htmlparser/src/CNavDTD.cpp b/htmlparser/src/CNavDTD.cpp
index f95d6948d74..56eaf149cff 100644
--- a/htmlparser/src/CNavDTD.cpp
+++ b/htmlparser/src/CNavDTD.cpp
@@ -564,6 +564,8 @@ nsresult CNavDTD::DidBuildModel(nsresult anErrorCode,PRBool aNotifySink,nsIParse
}
else result = mSink->DidBuildModel(0);
}
+ else result=mSink->DidBuildModel(0);
+
if(mDTDDebug) {
mDTDDebug->DumpVectorRecord();
}
diff --git a/parser/htmlparser/src/CNavDTD.cpp b/parser/htmlparser/src/CNavDTD.cpp
index f95d6948d74..56eaf149cff 100644
--- a/parser/htmlparser/src/CNavDTD.cpp
+++ b/parser/htmlparser/src/CNavDTD.cpp
@@ -564,6 +564,8 @@ nsresult CNavDTD::DidBuildModel(nsresult anErrorCode,PRBool aNotifySink,nsIParse
}
else result = mSink->DidBuildModel(0);
}
+ else result=mSink->DidBuildModel(0);
+
if(mDTDDebug) {
mDTDDebug->DumpVectorRecord();
}