bug 229183 : Eliminate an unnecessary QI r+sr=jst

git-svn-id: svn://10.0.0.236/trunk@150730 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
hpradhan%hotpop.com
2003-12-25 10:30:48 +00:00
parent e7879759aa
commit fb9f42cbfb

View File

@@ -74,7 +74,6 @@
#include "nsIContentViewer.h"
#include "nsIMarkupDocumentViewer.h"
#include "nsIDocShell.h"
#include "nsIWebShell.h"
#include "nsIDocShellTreeItem.h"
#include "nsIWebNavigation.h"
#include "nsIBaseWindow.h"
@@ -990,11 +989,10 @@ nsHTMLDocument::StartDocumentLoad(const char* aCommand,
sink = aSink;
else {
if (IsXHTML()) {
nsCOMPtr<nsIWebShell> webShell(do_QueryInterface(aContainer));
nsCOMPtr<nsIXMLContentSink> xmlsink;
rv = NS_NewXMLContentSink(getter_AddRefs(xmlsink), this, aURL,
webShell, aChannel);
docShell, aChannel);
sink = xmlsink;
} else {