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:
edburns%acm.org
2001-07-27 19:24:40 +00:00
parent bb88920756
commit f200bcbd85
2 changed files with 3 additions and 3 deletions

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;
}