Make webclient compile with 0.9.2.

This commit is contained in:
edburns%acm.org 2001-07-27 19:24:40 +00:00
parent 78bbac73ef
commit 63b6674786
2 changed files with 3 additions and 3 deletions

View File

@ -548,7 +548,7 @@ void DoMozInitialization(WebShellInitContext * initContext)
}
nsCOMPtr<nsIProfileInternal> profileInt = do_QueryInterface(profile);
if (profileInt) {
rv = profileInt->StartupWithArgs(cmdLine);
rv = profileInt->StartupWithArgs(cmdLine, PR_FALSE);
if (NS_FAILED(rv)) {
::util_ThrowExceptionToJava(env, "Can't statrup nsIProfile service.");
return;

View File

@ -270,8 +270,8 @@ wsPostEvent::handleEvent ()
return (void *) rv;
}
content = doc->GetRootContent();
if (!content) {
rv = doc->GetRootContent(getter_AddRefs(content));
if (NS_FAILED(rv) || !content) {
return (void *) rv;
}