Fix necko build bustage.
git-svn-id: svn://10.0.0.236/trunk@38754 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user