diff --git a/mozilla/layout/html/tests/TestAttributes.cpp b/mozilla/layout/html/tests/TestAttributes.cpp
index 3844663c7cd..304aedb7ded 100644
--- a/mozilla/layout/html/tests/TestAttributes.cpp
+++ b/mozilla/layout/html/tests/TestAttributes.cpp
@@ -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.");
}