Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
git-svn-id: svn://10.0.0.236/trunk@105460 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1021,7 +1021,7 @@ nsSpaceManager::List(FILE* out)
|
||||
if (NS_SUCCEEDED(mFrame->QueryInterface(NS_GET_IID(nsIFrameDebug), (void**)&frameDebug))) {
|
||||
frameDebug->GetFrameName(tmp);
|
||||
fprintf(out, " frame=");
|
||||
fputs(tmp, out);
|
||||
fputs(NS_LossyConvertUCS2toASCII(tmp).get(), out);
|
||||
fprintf(out, "@%p", mFrame);
|
||||
}
|
||||
}
|
||||
@@ -1041,7 +1041,7 @@ nsSpaceManager::List(FILE* out)
|
||||
if (NS_SUCCEEDED(band->mFrame->QueryInterface(NS_GET_IID(nsIFrameDebug), (void**)&frameDebug))) {
|
||||
frameDebug->GetFrameName(tmp);
|
||||
fprintf(out, " frame=");
|
||||
fputs(tmp, out);
|
||||
fputs(NS_LossyConvertUCS2toASCII(tmp).get(), out);
|
||||
fprintf(out, "@%p", band->mFrame);
|
||||
}
|
||||
}
|
||||
@@ -1056,7 +1056,7 @@ nsSpaceManager::List(FILE* out)
|
||||
|
||||
if (NS_SUCCEEDED(frame->QueryInterface(NS_GET_IID(nsIFrameDebug), (void**)&frameDebug))) {
|
||||
frameDebug->GetFrameName(tmp);
|
||||
fputs(tmp, out);
|
||||
fputs(NS_LossyConvertUCS2toASCII(tmp).get(), out);
|
||||
fprintf(out, "@%p ", frame);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user