Fix necko build bustage.
This commit is contained in:
@@ -3030,8 +3030,12 @@ nsWebShell::OnStartURLLoad(nsIDocumentLoader* loader,
|
|||||||
|
|
||||||
// Stop loading of the earlier document completely when the document url
|
// Stop loading of the earlier document completely when the document url
|
||||||
// load starts. Now we know that this url is valid and available.
|
// load starts. Now we know that this url is valid and available.
|
||||||
const char* url;
|
nsXPIDLCString url;
|
||||||
aURL->GetSpec(&url);
|
#ifdef NECKO
|
||||||
|
aURL->GetSpec(getter_Copies(url));
|
||||||
|
#else
|
||||||
|
aURL->GetSpec(getter_Shares(url));
|
||||||
|
#endif
|
||||||
if (0 == PL_strcmp(url, mURL.GetBuffer()))
|
if (0 == PL_strcmp(url, mURL.GetBuffer()))
|
||||||
StopAfterURLAvailable();
|
StopAfterURLAvailable();
|
||||||
|
|
||||||
|
|||||||
@@ -3030,8 +3030,12 @@ nsWebShell::OnStartURLLoad(nsIDocumentLoader* loader,
|
|||||||
|
|
||||||
// Stop loading of the earlier document completely when the document url
|
// Stop loading of the earlier document completely when the document url
|
||||||
// load starts. Now we know that this url is valid and available.
|
// load starts. Now we know that this url is valid and available.
|
||||||
const char* url;
|
nsXPIDLCString url;
|
||||||
aURL->GetSpec(&url);
|
#ifdef NECKO
|
||||||
|
aURL->GetSpec(getter_Copies(url));
|
||||||
|
#else
|
||||||
|
aURL->GetSpec(getter_Shares(url));
|
||||||
|
#endif
|
||||||
if (0 == PL_strcmp(url, mURL.GetBuffer()))
|
if (0 == PL_strcmp(url, mURL.GetBuffer()))
|
||||||
StopAfterURLAvailable();
|
StopAfterURLAvailable();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user