Fix necko build bustage.

git-svn-id: svn://10.0.0.236/trunk@38754 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
waterson%netscape.com
1999-07-08 01:23:56 +00:00
parent a881b61224
commit dc426df1ce
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();