diff --git a/htmlparser/robot/nsDebugRobot.cpp b/htmlparser/robot/nsDebugRobot.cpp index dde8ce6f5034..1044ba970399 100644 --- a/htmlparser/robot/nsDebugRobot.cpp +++ b/htmlparser/robot/nsDebugRobot.cpp @@ -165,13 +165,13 @@ extern "C" NS_EXPORT int DebugRobot( parser->SetContentSink(sink); g_bReadyForNextUrl = PR_FALSE; - parser->Parse(url); + parser->Parse(url, nsnull);/* XXX hook up stream listener here! */ while (!g_bReadyForNextUrl) { if (yieldProc != NULL) (*yieldProc)(url->GetSpec()); } if (ww) - ww->LoadURL(url->GetSpec()); + ww->LoadURL(url->GetSpec(), nsnull);/* XXX hook up stream listener here! */ NS_RELEASE(sink); NS_RELEASE(parser); diff --git a/parser/htmlparser/robot/nsDebugRobot.cpp b/parser/htmlparser/robot/nsDebugRobot.cpp index dde8ce6f5034..1044ba970399 100644 --- a/parser/htmlparser/robot/nsDebugRobot.cpp +++ b/parser/htmlparser/robot/nsDebugRobot.cpp @@ -165,13 +165,13 @@ extern "C" NS_EXPORT int DebugRobot( parser->SetContentSink(sink); g_bReadyForNextUrl = PR_FALSE; - parser->Parse(url); + parser->Parse(url, nsnull);/* XXX hook up stream listener here! */ while (!g_bReadyForNextUrl) { if (yieldProc != NULL) (*yieldProc)(url->GetSpec()); } if (ww) - ww->LoadURL(url->GetSpec()); + ww->LoadURL(url->GetSpec(), nsnull);/* XXX hook up stream listener here! */ NS_RELEASE(sink); NS_RELEASE(parser);