зеркало из https://github.com/mozilla/gecko-dev.git
xmlterm changes only;
Changed call to LoadURI in response to DocShell changes.
This commit is contained in:
Родитель
ace64521af
Коммит
71fea30e97
|
@ -266,12 +266,7 @@ NS_IMETHODIMP mozXMLTerminal::Init(nsIDocShell* aDocShell,
|
|||
if (NS_FAILED(result))
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
nsCOMPtr<nsIPresContext> presContext;
|
||||
result = mDocShell->GetPresContext(getter_AddRefs(presContext));
|
||||
if (NS_FAILED(result) || !presContext)
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
result = mDocShell->LoadURI(uri, presContext);
|
||||
result = mDocShell->LoadURI(uri, (nsIURI*) nsnull);
|
||||
if (NS_FAILED(result))
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче