зеркало из https://github.com/mozilla/pjs.git
Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
This commit is contained in:
Родитель
475e4ed7b9
Коммит
7b87a1f19e
|
@ -210,9 +210,8 @@ void txMozillaXMLOutput::endDocument()
|
|||
nsCOMPtr<nsIDocument> doc = do_QueryInterface(mDocument);
|
||||
nsIScriptGlobalObject *sgo = doc->GetScriptGlobalObject();
|
||||
if (sgo) {
|
||||
nsCOMPtr<nsIDocShell> docShell;
|
||||
sgo->GetDocShell(getter_AddRefs(docShell));
|
||||
nsCOMPtr<nsIRefreshURI> refURI = do_QueryInterface(docShell);
|
||||
nsCOMPtr<nsIRefreshURI> refURI =
|
||||
do_QueryInterface(sgo->GetDocShell());
|
||||
if (refURI) {
|
||||
refURI->SetupRefreshURIFromHeader(doc->GetBaseURI(),
|
||||
mRefreshString);
|
||||
|
|
Загрузка…
Ссылка в новой задаче