зеркало из https://github.com/mozilla/pjs.git
Implement LoadDocument(), a new method that is part of the nsIWebShellServices interface.
This commit is contained in:
Родитель
3c4a5ec5b8
Коммит
828efdeb93
|
@ -1944,6 +1944,8 @@ nsWebShell::LoadDocument(const char* aURL,
|
|||
const char* aCharset,
|
||||
nsCharsetSource aSource)
|
||||
{
|
||||
nsAutoString url(aURL);
|
||||
LoadURL(url.GetUnicode());
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
|
@ -1944,6 +1944,8 @@ nsWebShell::LoadDocument(const char* aURL,
|
|||
const char* aCharset,
|
||||
nsCharsetSource aSource)
|
||||
{
|
||||
nsAutoString url(aURL);
|
||||
LoadURL(url.GetUnicode());
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче