Fix necko build bustage.

This commit is contained in:
waterson@netscape.com
1999-07-08 01:23:56 +00:00
parent 3ddef3e3c5
commit 150b95feb8
2 changed files with 12 additions and 4 deletions

View File

@@ -3030,8 +3030,12 @@ nsWebShell::OnStartURLLoad(nsIDocumentLoader* loader,
// Stop loading of the earlier document completely when the document url
// load starts. Now we know that this url is valid and available.
const char* url;
aURL->GetSpec(&url);
nsXPIDLCString url;
#ifdef NECKO
aURL->GetSpec(getter_Copies(url));
#else
aURL->GetSpec(getter_Shares(url));
#endif
if (0 == PL_strcmp(url, mURL.GetBuffer()))
StopAfterURLAvailable();