mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Make webclient compile with 0.9.2.
This commit is contained in:
parent
78bbac73ef
commit
63b6674786
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user