speedup building content. checkin for waterson.

This commit is contained in:
putterman%netscape.com 1999-09-01 04:58:36 +00:00
Родитель f2dcf61606
Коммит 798a890537
3 изменённых файлов: 24 добавлений и 0 удалений

Просмотреть файл

@ -873,6 +873,14 @@ RDFGenericBuilderImpl::CloseContainer(nsIContent* aElement)
NS_IMETHODIMP
RDFGenericBuilderImpl::RebuildContainer(nsIContent* aElement)
{
NS_PRECONDITION(aElement != nsnull, "null ptr");
if (! aElement)
return NS_ERROR_NULL_POINTER;
// First, make sure that the element is in the right widget -- ours.
if (!IsElementInWidget(aElement))
return NS_OK;
nsresult rv;
// Remove any generated children from this node

Просмотреть файл

@ -873,6 +873,14 @@ RDFGenericBuilderImpl::CloseContainer(nsIContent* aElement)
NS_IMETHODIMP
RDFGenericBuilderImpl::RebuildContainer(nsIContent* aElement)
{
NS_PRECONDITION(aElement != nsnull, "null ptr");
if (! aElement)
return NS_ERROR_NULL_POINTER;
// First, make sure that the element is in the right widget -- ours.
if (!IsElementInWidget(aElement))
return NS_OK;
nsresult rv;
// Remove any generated children from this node

Просмотреть файл

@ -873,6 +873,14 @@ RDFGenericBuilderImpl::CloseContainer(nsIContent* aElement)
NS_IMETHODIMP
RDFGenericBuilderImpl::RebuildContainer(nsIContent* aElement)
{
NS_PRECONDITION(aElement != nsnull, "null ptr");
if (! aElement)
return NS_ERROR_NULL_POINTER;
// First, make sure that the element is in the right widget -- ours.
if (!IsElementInWidget(aElement))
return NS_OK;
nsresult rv;
// Remove any generated children from this node