mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Updated to new api
This commit is contained in:
parent
bb4f90a577
commit
cd6f6d6e18
@ -257,7 +257,7 @@ int main(int argc, char** argv)
|
||||
NS_ASSERTION(container->CanContainChildren(),"");
|
||||
container->SetDocument(myDoc);
|
||||
|
||||
container->AppendChild(text);
|
||||
container->AppendChild(text, PR_FALSE);
|
||||
if (container->ChildCount() != 1) {
|
||||
printf("Container has wrong number of children.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user