Make webclient compile with 0.9.2.
git-svn-id: svn://10.0.0.236/trunk@99970 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user