From 3d05bf1c3a87bdc8725a5cfb494fed5d13e7e64e Mon Sep 17 00:00:00 2001 From: "rickg%netscape.com" Date: Mon, 5 Apr 1999 08:50:07 +0000 Subject: [PATCH] update to sync up with new nsString git-svn-id: svn://10.0.0.236/trunk@26291 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/htmlparser/robot/nsDebugRobot.cpp | 3 ++- mozilla/parser/htmlparser/robot/nsDebugRobot.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mozilla/htmlparser/robot/nsDebugRobot.cpp b/mozilla/htmlparser/robot/nsDebugRobot.cpp index 34a0645a9e1..e2b4ad79e27 100644 --- a/mozilla/htmlparser/robot/nsDebugRobot.cpp +++ b/mozilla/htmlparser/robot/nsDebugRobot.cpp @@ -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; diff --git a/mozilla/parser/htmlparser/robot/nsDebugRobot.cpp b/mozilla/parser/htmlparser/robot/nsDebugRobot.cpp index 34a0645a9e1..e2b4ad79e27 100644 --- a/mozilla/parser/htmlparser/robot/nsDebugRobot.cpp +++ b/mozilla/parser/htmlparser/robot/nsDebugRobot.cpp @@ -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;