update to sync up with new nsString

git-svn-id: svn://10.0.0.236/trunk@26291 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
1999-04-05 08:50:07 +00:00
parent 630bba7859
commit 3d05bf1c3a
2 changed files with 4 additions and 2 deletions

View File

@@ -253,7 +253,8 @@ extern "C" NS_EXPORT int DebugRobot(
ww->SetObserver(pl);
const char* spec;
(void)url->GetSpec(&spec);
ww->LoadURL(nsString(spec));/* XXX hook up stream listener here! */
nsAutoString theSpec(spec);
ww->LoadURL(theSpec.GetUnicode());/* XXX hook up stream listener here! */
while (!g_bReadyForNextUrl) {
if (yieldProc != NULL) {
const char* spec;