mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Apparently, nsIURL::GetSpec changed...
This commit is contained in:
parent
a885776445
commit
0d4267a93f
@ -68,7 +68,10 @@ nsresult nsWebShellWindow::Initialize(nsIAppShell* aShell, nsIURL* aUrl)
|
||||
{
|
||||
nsresult rv;
|
||||
|
||||
nsString urlString(aUrl->GetSpec());
|
||||
nsString urlString;
|
||||
const char *tmpStr = NULL;
|
||||
aUrl->GetSpec(&tmpStr);
|
||||
urlString = tmpStr;
|
||||
|
||||
// XXX: need to get the default window size from prefs...
|
||||
nsRect r(0, 0, 600, 400);
|
||||
|
Loading…
Reference in New Issue
Block a user