a=asa for QA checkins that are not part of the default builds.
Removed getAdders for GetSpec() and GetPath(). use nsAutoString. git-svn-id: svn://10.0.0.236/trunk@116681 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -253,14 +253,14 @@ NS_IMETHODIMP CBrowserImpl::OnLocationChange(nsIWebProgress* aWebProgress,
|
||||
QAOutput("Entering nsIWebProgLstnr::OnLocationChange().");
|
||||
|
||||
nsresult rv;
|
||||
char *uriSpec;
|
||||
rv = location->GetSpec(&uriSpec);
|
||||
nsCAutoString uriString;
|
||||
rv = location->GetSpec(uriString);
|
||||
if (NS_FAILED(rv))
|
||||
QAOutput("Bad result for GetSpec().");
|
||||
else
|
||||
QAOutput("Good result for GetSpec().");
|
||||
|
||||
FormatAndPrintOutput("OnLocationChange(): The location url = ", uriSpec, 1);
|
||||
FormatAndPrintOutput("OnLocationChange(): The location url = ", uriString, 1);
|
||||
|
||||
// RequestName(aRequest, stringMsg); // because of crash bug bugzilla 86521
|
||||
|
||||
|
||||
Reference in New Issue
Block a user